reduce diff
This commit is contained in:
parent
19140e1fb5
commit
d8985dc6d5
1
app.go
1
app.go
@ -201,7 +201,6 @@ func (a *App) Run(arguments []string) (err error) {
|
|||||||
err = set.Parse(arguments[1:])
|
err = set.Parse(arguments[1:])
|
||||||
nerr := normalizeFlags(a.Flags, set)
|
nerr := normalizeFlags(a.Flags, set)
|
||||||
context := NewContext(a, set, nil)
|
context := NewContext(a, set, nil)
|
||||||
|
|
||||||
if nerr != nil {
|
if nerr != nil {
|
||||||
fmt.Fprintln(a.Writer, nerr)
|
fmt.Fprintln(a.Writer, nerr)
|
||||||
ShowAppHelp(context)
|
ShowAppHelp(context)
|
||||||
|
Loading…
Reference in New Issue
Block a user