From e97f74a5708775999e80bcd0026238c62fca3ec2 Mon Sep 17 00:00:00 2001 From: James Cunningham Date: Tue, 7 Jun 2016 16:28:10 +0100 Subject: [PATCH] fix ActionFunc signature of ShowAppHelp action --- help.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/help.go b/help.go index f2ddc54..0f4cf14 100644 --- a/help.go +++ b/help.go @@ -117,8 +117,9 @@ var HelpPrinter helpPrinter = printHelp var VersionPrinter = printVersion // ShowAppHelp is an action that displays the help. -func ShowAppHelp(c *Context) { +func ShowAppHelp(c *Context) error { HelpPrinter(c.App.Writer, AppHelpTemplate, c.App) + return nil } // DefaultAppComplete prints the list of subcommands as the default app completion method