From 3614e105418f90ef914d54aed0078c54c5eef797 Mon Sep 17 00:00:00 2001 From: Endri Gjiri Date: Sat, 24 Mar 2018 09:17:00 -0400 Subject: [PATCH] Update error output to use Help() instead of UsageString() --- command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.go b/command.go index 15b81127..57b971fc 100644 --- a/command.go +++ b/command.go @@ -861,7 +861,7 @@ func (c *Command) ExecuteC() (cmd *Command, err error) { // If root command has SilentUsage flagged, // all subcommands should respect it if !cmd.SilenceUsage && !c.SilenceUsage { - c.Println(cmd.UsageString()) + cmd.Help() } } return cmd, err