Skip to content

Commit

Permalink
Merge pull request #78 from rsteube/fix-run
Browse files Browse the repository at this point in the history
fix run
  • Loading branch information
rsteube committed Mar 28, 2023
2 parents 6857689 + 62a66c6 commit d07868d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/carapace-bridge/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func addSubCommand(use, short string, f func(s ...string) carapace.Action) {
Short: short,
Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
rootCmd.SetArgs(append([]string{"_carapace", "export", "", "fish"}, args...))
rootCmd.SetArgs(append([]string{"_carapace", "export", "", use}, args...))
rootCmd.Execute()
},
DisableFlagParsing: true,
Expand Down

0 comments on commit d07868d

Please sign in to comment.