show errors

This commit is contained in:
Lynn Cyrin 2019-07-18 00:48:09 -07:00
parent 2299852c3c
commit 19140e1fb5
No known key found for this signature in database
GPG Key ID: EE9CCB427DFEC897

1
app.go
View File

@ -342,6 +342,7 @@ func (a *App) RunAsSubcommand(ctx *Context) (err error) {
cerr := checkRequiredFlags(a.Flags, set)
if cerr != nil {
showFlagError(a.Writer, cerr)
ShowSubcommandHelp(context)
return cerr
}