Skip to content

Commit

Permalink
Merge pull request #1202 from fxrlv/patch-1
Browse files Browse the repository at this point in the history
use Name as default to HelpName
  • Loading branch information
rliebz committed Nov 26, 2020
2 parents ec731fe + e40b83a commit fe989e1
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 fe989e1

Please sign in to comment.