lint + DefaultCommand

This commit is contained in:
OneOfOne
2017-08-29 17:26:30 +02:00
parent 50a0fdeea6
commit 163f247519
2 changed files with 10 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ func (c *Command) Run(ctx *Context) (err error) {
if err != nil {
if c.OnUsageError != nil {
err := c.OnUsageError(context, err, false)
err = c.OnUsageError(context, err, false)
HandleExitCoder(err)
return err
}