From ab2bf3c30a95bcdac4293e37c4b0a03e1f7a4943 Mon Sep 17 00:00:00 2001 From: Naveen Gogineni Date: Thu, 1 Dec 2022 10:18:31 -0500 Subject: [PATCH] Fix:(issue_1591) Use AppHelpTemplate instead of SubCommandHelpTemplate --- command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.go b/command.go index c5939d4ec8..b8a944d641 100644 --- a/command.go +++ b/command.go @@ -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 }