This commit is contained in:
abs3nt 2023-01-16 18:25:58 -08:00
parent 2c37f24fa8
commit 42e6468eaf

View File

@ -43,7 +43,7 @@ fish:
$ %[1]s completion fish > ~/.config/fish/completions/%[1]s.fish
`, rootCmd.Name()),
DisableFlagsInUseLine: true,
ValidArgs: []string{"bash", "zsh", "fish", "powershell"},
ValidArgs: []string{"bash", "zsh", "fish"},
Args: cobra.MatchAll(cobra.ExactArgs(1), cobra.OnlyValidArgs),
Run: func(cmd *cobra.Command, args []string) {
switch args[0] {