|
|
@ -164,7 +164,7 @@ func printVersion() { |
|
|
|
// Completion
|
|
|
|
// Completion
|
|
|
|
var completionFunctions = map[string]func(io.Writer) error{ |
|
|
|
var completionFunctions = map[string]func(io.Writer) error{ |
|
|
|
"bash": rootCmd.GenBashCompletion, |
|
|
|
"bash": rootCmd.GenBashCompletion, |
|
|
|
"zsh": rootCmd.GenZshCompletion, // FIXME: zsh completion requires https://github.com/spf13/cobra/pull/899 due to square brackets in our help texts
|
|
|
|
"zsh": rootCmd.GenZshCompletion, |
|
|
|
"psh": rootCmd.GenPowerShellCompletion, |
|
|
|
"psh": rootCmd.GenPowerShellCompletion, |
|
|
|
"powershell": rootCmd.GenPowerShellCompletion, |
|
|
|
"powershell": rootCmd.GenPowerShellCompletion, |
|
|
|
} |
|
|
|
} |
|
|
|