Skip to content

Commit

Permalink
Rebase from master
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Apr 29, 2021
1 parent b5def9f commit c8e5f12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions parse.go
Expand Up @@ -46,9 +46,8 @@ func parseIter(set *flag.FlagSet, ip iterativeParser, args []string, shellComple
return err
}

// Start processing only from failed argument and not
// from beginning
args = append(shortOpts, args[i+1:]...)
// swap current argument with the split version
args = append(args[:i], append(shortOpts, args[i+1:]...)...)
argsWereSplit = true
break
}
Expand Down

0 comments on commit c8e5f12

Please sign in to comment.