Fixed ShowSubcommandHelp

ShowSubcommandHelp should show help for the subcommand not the app
This commit is contained in:
Nima Jahanshahi 2014-08-11 11:27:26 +04:30
parent 687db20fc3
commit 4db56687fa

View File

@ -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