Skip to content

Commit

Permalink
Fix use of deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
anishathalye committed Jul 17, 2023
1 parent 87e3215 commit 34ec52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/psc/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $ psc completion fish > ~/.config/fish/completions/psc.fish
`,
DisableFlagsInUseLine: true,
ValidArgs: []string{"bash", "zsh", "fish", "powershell"},
Args: cobra.ExactValidArgs(1),
Args: cobra.MatchAll(cobra.ExactArgs(1), cobra.OnlyValidArgs),
RunE: completionRun,
}

Expand Down

0 comments on commit 34ec52e

Please sign in to comment.