Skip to content

Commit

Permalink
fix(platform): currect the worng name passed to helpCommand() (#1656)
Browse files Browse the repository at this point in the history
  • Loading branch information
colin404 authored Nov 16, 2021
1 parent ce450b6 commit a2b31ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (a *App) Run() {
for _, command := range a.commands {
cmd.AddCommand(command.cobraCommand())
}
cmd.SetHelpCommand(helpCommand(a.name))
cmd.SetHelpCommand(helpCommand(a.basename))
}
if a.runFunc != nil {
cmd.Run = a.runCommand
Expand Down

0 comments on commit a2b31ab

Please sign in to comment.