From 4db56687faebc35a767fa36dbfe9b223865241e0 Mon Sep 17 00:00:00 2001 From: Nima Jahanshahi Date: Mon, 11 Aug 2014 11:27:26 +0430 Subject: [PATCH] Fixed ShowSubcommandHelp ShowSubcommandHelp should show help for the subcommand not the app --- help.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help.go b/help.go index 5020cb6..01c86e1 100644 --- a/help.go +++ b/help.go @@ -131,7 +131,7 @@ func ShowCommandHelp(c *Context, command string) { // Prints help for the given subcommand func ShowSubcommandHelp(c *Context) { - HelpPrinter(SubcommandHelpTemplate, c.App) + ShowCommandHelp(c, c.Command.Name) } // Prints the version number of the App