We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c0e092 commit c78499eCopy full SHA for c78499e
src/cmd/completion.go
@@ -18,7 +18,7 @@ var completionCmd = &cobra.Command{
18
Run: func(cmd *cobra.Command, args []string) {
19
switch args[0] {
20
case "bash":
21
- if err := cmd.Root().GenBashCompletion(os.Stdout); err != nil {
+ if err := cmd.Root().GenBashCompletionV2(os.Stdout, true); err != nil {
22
fmt.Fprintf(os.Stderr, "Error: %v", err)
23
}
24
case "zsh":
0 commit comments