From 1465cef1b4dcc545f585364118bb19711298b36b Mon Sep 17 00:00:00 2001 From: Naveen Gogineni Date: Thu, 1 Dec 2022 10:13:07 -0500 Subject: [PATCH] Fix:(issue_1591) Use AppHelpTemplate instead of subcommand help template --- command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.go b/command.go index bf9ce01b83..25322bc902 100644 --- a/command.go +++ b/command.go @@ -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 }