Use HelpPrinter in ShowCommandHelp

This commit is contained in:
Jack Christensen 2014-04-26 17:02:33 -06:00
parent 820deefc90
commit 357921b483

View File

@ -110,7 +110,7 @@ func DefaultAppComplete(c *Context) {
func ShowCommandHelp(c *Context, command string) {
for _, c := range c.App.Commands {
if c.HasName(command) {
printHelp(CommandHelpTemplate, c)
HelpPrinter(CommandHelpTemplate, c)
return
}
}