Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Dec 19, 2023
1 parent 9ed4e62 commit 012b2d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/carapace/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ var rootCmd = &cobra.Command{
DisableFlagParsing: true,
Run: func(cmd *cobra.Command, args []string) {
// since flag parsing is disabled do this manually
// TODO switch to cobra flag parsing with interspersed=false (redirect completion from completers/carapace_completer to here)
switch args[0] { // TODO use flags
switch args[0] {
case "--macros":
macrosCmd.SetArgs(args[1:])
macrosCmd.Execute()
Expand Down

0 comments on commit 012b2d9

Please sign in to comment.