Skip to content

Commit 67fca4b

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)