Slight formatting change, to make next commit more readable

This commit is contained in:
Eric Paris 2015-04-06 14:54:26 -04:00
parent 29e27b1649
commit b9e25fa4a0
1 changed files with 10 additions and 11 deletions

View File

@ -422,7 +422,7 @@ func (c *Command) execute(a []string) (err error) {
c.Usage()
r.SetOutput(out)
return err
} else {
}
// If help is called, regardless of other flags, we print that.
// Print help also if c.Run is nil.
if c.helpFlagVal || !c.Runnable() {
@ -434,7 +434,6 @@ func (c *Command) execute(a []string) (err error) {
argWoFlags := c.Flags().Args()
c.Run(c, argWoFlags)
return nil
}
}
func (c *Command) preRun() {