Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
Code cleanup

Format code
  • Loading branch information
jdknives committed Jun 19, 2023
1 parent 7d6e788 commit 83c670a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/skywire-cli/commands/completion/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var RootCmd = &cobra.Command{
Short: "Generate completion script",
DisableFlagsInUseLine: true,
ValidArgs: []string{"bash", "zsh", "fish", "powershell"},
Args: cobra.ExactValidArgs(1),
Args: cobra.MatchAll(cobra.ExactArgs(1)),
Run: func(cmd *cobra.Command, args []string) {
switch args[0] {
case "bash":
Expand Down

0 comments on commit 83c670a

Please sign in to comment.