Skip to content

Commit

Permalink
Fix:(issue_1591) Use AppHelpTemplate instead of subcommand help template
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Dec 1, 2022
1 parent e0bfec9 commit 1465cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.go
Expand Up @@ -204,7 +204,7 @@ func (c *Command) Run(cCtx *Context, arguments ...string) (err error) {

cerr := cCtx.checkRequiredFlags(c.Flags)
if cerr != nil {
_ = ShowSubcommandHelp(cCtx)
_ = helpCommand.Action(cCtx)
return cerr
}

Expand Down

0 comments on commit 1465cef

Please sign in to comment.