From 8b9345ec9dd6947ba776af88dff3f1b250c3725f Mon Sep 17 00:00:00 2001 From: Nuruddin Ashr Date: Tue, 4 Apr 2017 13:53:15 +0700 Subject: [PATCH] Remove the error return signature --- help.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/help.go b/help.go index f16e6fa..188366f 100644 --- a/help.go +++ b/help.go @@ -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