Fix:(issue_557) Make help output consistent between different invocations

This commit is contained in:
Naveen Gogineni
2022-09-20 21:18:03 -04:00
committed by Dan Buch
parent 4c637d8ac7
commit 57ff098ca7
5 changed files with 114 additions and 32 deletions

View File

@@ -174,13 +174,16 @@ func ExampleApp_Run_commandHelp() {
_ = app.Run(os.Args)
// Output:
// NAME:
// greet describeit - use it to see a description
// greet describeit [command options] [arguments...]
//
// USAGE:
// greet describeit [arguments...]
//
// DESCRIPTION:
// This is how we describe describeit the function
//
// OPTIONS:
// --help, -h show help (default: false)
}
func ExampleApp_Run_noAction() {