Update command.go
This commit is contained in:
parent
3f6f97754a
commit
72c249389c
@ -218,7 +218,6 @@ func (c *Command) useShortOptionHandling() bool {
|
|||||||
// the arguments (remainingArgs) as this is what flag expects.
|
// the arguments (remainingArgs) as this is what flag expects.
|
||||||
func reorderArgs(commandFlags []Flag, args []string) []string {
|
func reorderArgs(commandFlags []Flag, args []string) []string {
|
||||||
var remainingArgs, reorderedArgs []string
|
var remainingArgs, reorderedArgs []string
|
||||||
var reorderedArgs []string
|
|
||||||
|
|
||||||
nextIndexMayContainValue := false
|
nextIndexMayContainValue := false
|
||||||
for i, arg := range args {
|
for i, arg := range args {
|
||||||
|
Loading…
Reference in New Issue
Block a user