Skip to content

Commit

Permalink
Update command.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Sascha Grunert <sgrunert@suse.com>
  • Loading branch information
Lynn Cyrin (they/them) and saschagrunert committed Sep 13, 2019
1 parent bfdd794 commit 3f6f977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.go
Expand Up @@ -217,7 +217,7 @@ func (c *Command) useShortOptionHandling() bool {
// reorderArgs moves all flags (via reorderedArgs) before the rest of
// the arguments (remainingArgs) as this is what flag expects.
func reorderArgs(commandFlags []Flag, args []string) []string {
var remainingArgs []string
var remainingArgs, reorderedArgs []string
var reorderedArgs []string

nextIndexMayContainValue := false
Expand Down

0 comments on commit 3f6f977

Please sign in to comment.