committed by
GitHub
parent
bfdd794eb3
commit
3f6f97754a
@@ -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
|
||||
|
Reference in New Issue
Block a user