Merge pull request #84 from JackC/help-printer

Use HelpPrinter in ShowCommandHelp
This commit is contained in:
Jeremy Saenz 2014-05-27 16:53:49 -07:00
commit 07cae0dfd4

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