Add mergePersistentFlags in strip flags since we now look at the flag set.

This commit is contained in:
Brendan Burns
2015-03-16 12:47:32 -07:00
parent 9e7273d546
commit 93278e2f35
2 changed files with 12 additions and 0 deletions

View File

@ -275,6 +275,7 @@ func stripFlags(args []string, c *Command) []string {
if len(args) < 1 {
return args
}
c.mergePersistentFlags()
commands := []string{}