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