Merge pull request #531 from keloyang/SkipFlagParsing-SkipArgReorder-bugfix

bug fix when SkipFlagParsing is false and SkipArgReorder is true
This commit is contained in:
Jesse Szwedko 2016-09-17 14:38:06 -07:00 committed by GitHub
commit d53eb99165

View File

@ -128,6 +128,8 @@ func (c Command) Run(ctx *Context) (err error) {
} else { } else {
err = set.Parse(ctx.Args().Tail()) err = set.Parse(ctx.Args().Tail())
} }
} else {
err = set.Parse(ctx.Args().Tail())
} }
if err != nil { if err != nil {