From e68be52ed0a11e5d488750713fc685f4a644e41b Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Wed, 22 Apr 2020 14:03:44 -0700 Subject: [PATCH] Use the correct field --- command/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/root.go b/command/root.go index 611022d2d..84c421d46 100644 --- a/command/root.go +++ b/command/root.go @@ -247,7 +247,7 @@ func rootHelpFunc(command *cobra.Command, s []string) { { "", command.Long}, - {"USAGE", command.UsageString()}, + {"USAGE", command.Use}, {"CORE COMMANDS", strings.Join(coreCommands, "\n")}, {"ADDITIONAL COMMANDS", strings.Join(additionalCommands, "\n")}, {"FLAGS", strings.TrimRight(command.LocalFlags().FlagUsages(), "\n")},