Skip to content

Commit

Permalink
fix(completions): Fix completion generator error
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 26, 2024
1 parent 969cb18 commit ea96833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/generate/completions/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func main() {
rootCmd.SetOut(&buf)

for _, shell := range []string{"bash", "zsh", "fish"} {
rootCmd.SetArgs([]string{"--completion=" + shell})
rootCmd.SetArgs([]string{"completion", shell})
if err := rootCmd.Execute(); err != nil {
panic(err)
}
Expand Down

0 comments on commit ea96833

Please sign in to comment.