Merge pull request #615 from uudashr/v2

Remove the error return signature
This commit is contained in:
Jesse Szwedko 2017-04-17 22:23:20 -07:00 committed by GitHub
commit 922e3e2cea

View File

@ -121,9 +121,8 @@ var HelpPrinter helpPrinter = printHelp
var VersionPrinter = printVersion
// ShowAppHelp is an action that displays the help.
func ShowAppHelp(c *Context) error {
func ShowAppHelp(c *Context) {
HelpPrinter(c.App.Writer, AppHelpTemplate, c.App)
return nil
}
// DefaultAppComplete prints the list of subcommands as the default app completion method