remove
This commit is contained in:
parent
2c37f24fa8
commit
42e6468eaf
@ -43,7 +43,7 @@ fish:
|
|||||||
$ %[1]s completion fish > ~/.config/fish/completions/%[1]s.fish
|
$ %[1]s completion fish > ~/.config/fish/completions/%[1]s.fish
|
||||||
`, rootCmd.Name()),
|
`, rootCmd.Name()),
|
||||||
DisableFlagsInUseLine: true,
|
DisableFlagsInUseLine: true,
|
||||||
ValidArgs: []string{"bash", "zsh", "fish", "powershell"},
|
ValidArgs: []string{"bash", "zsh", "fish"},
|
||||||
Args: cobra.MatchAll(cobra.ExactArgs(1), cobra.OnlyValidArgs),
|
Args: cobra.MatchAll(cobra.ExactArgs(1), cobra.OnlyValidArgs),
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
switch args[0] {
|
switch args[0] {
|
||||||
|
Loading…
Reference in New Issue
Block a user