Fixed ShowSubcommandHelp

ShowSubcommandHelp should show help for the subcommand not the app
main
Nima Jahanshahi 10 years ago
parent 687db20fc3
commit 4db56687fa

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

Loading…
Cancel
Save