Skip to content

Commit

Permalink
use Name as default to HelpName
Browse files Browse the repository at this point in the history
  • Loading branch information
fxrlv committed Nov 3, 2020
1 parent 09ac54c commit e40b83a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.go
Expand Up @@ -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 == "" {
Expand Down

0 comments on commit e40b83a

Please sign in to comment.