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
commit fe989e1a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.go
View File

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