Skip to content

Commit

Permalink
fix deprecated api usage
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriciojs committed Dec 6, 2022
1 parent e3aac04 commit 26c3b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ $ kool completion fish > ~/.config/fish/completions/kool.fish
`,
DisableFlagsInUseLine: true,
ValidArgs: []string{"bash", "zsh", "fish", "powershell"},
Args: cobra.ExactValidArgs(1),
Args: cobra.MatchAll(cobra.ExactArgs(1)),
Hidden: true,
RunE: DefaultCommandRunFunction(completion),
}
Expand Down

0 comments on commit 26c3b26

Please sign in to comment.