Merge pull request #1202 from fxrlv/patch-1

use Name as default to HelpName
This commit is contained in:
Robert Liebowitz
2020-11-25 21:27:18 -05:00
committed by GitHub

2
app.go
View File

@@ -140,7 +140,7 @@ func (a *App) Setup() {
} }
if a.HelpName == "" { if a.HelpName == "" {
a.HelpName = filepath.Base(os.Args[0]) a.HelpName = a.Name
} }
if a.Usage == "" { if a.Usage == "" {