diff --git a/main/commands/base/execute.go b/main/commands/base/execute.go index 802f01c27..9168cb18b 100644 --- a/main/commands/base/execute.go +++ b/main/commands/base/execute.go @@ -14,6 +14,9 @@ import ( // Execute excute the commands func Execute() { + flag.Usage = func() { + PrintUsage(os.Stderr, RootCommand) + } flag.Parse() args := flag.Args() if len(args) < 1 {