Skip to content

Commit 67fca4b

Browse files
authored
feat!: Disable default completion command (#96)
1 parent 7df58df commit 67fca4b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

serve/serve.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ func newCmdRoot(opts Options) *cobra.Command {
139139
}
140140
cmd.AddCommand(newCmdServe(opts))
141141
cmd.AddCommand(newCmdDoc(opts))
142+
cmd.CompletionOptions.DisableDefaultCmd = true
142143
return cmd
143144
}
144145

0 commit comments

Comments
 (0)