diff --git a/pkg/app/app.go b/pkg/app/app.go index fe8edfdd7..b35c6ace7 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -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