Skip to content

Commit

Permalink
Fix:(issue_1591) Use AppHelpTemplate instead of SubCommandHelpTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Dec 1, 2022
1 parent 5f57616 commit ab2bf3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.go
Expand Up @@ -203,7 +203,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 ab2bf3c

Please sign in to comment.