Skip to content

Commit 817a9d9

Browse files
committed
kcl: disable cobra default completion command
v1.2 introduced this
1 parent d754727 commit 817a9d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.go

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ If this is your first time running kcl, you can create a configuration with:
4040
Command completion is available at:
4141
kcl misc gen-autocomplete
4242
`,
43+
44+
CompletionOptions: cobra.CompletionOptions{
45+
DisableDefaultCmd: true,
46+
},
4347
}
4448

4549
cl := client.New(root)

0 commit comments

Comments
 (0)