Resolve remaining test errors for v1 => v2 merge

This commit is contained in:
Dan Buch
2017-08-12 22:02:54 -04:00
parent ce3a0da1a3
commit 65b801c818
7 changed files with 96 additions and 93 deletions

View File

@@ -159,6 +159,10 @@ func (c *Command) Run(ctx *Context) (err error) {
}
}
if c.Action == nil {
c.Action = helpSubcommand.Action
}
context.Command = c
err = c.Action(context)