Merge branch 'heathy-helping' of https://github.com/cli/cli into heathy-helping

This commit is contained in:
Corey Johnson 2020-04-22 14:02:09 -07:00
commit 4b2382c737

View file

@ -250,9 +250,10 @@ func rootHelpFunc(command *cobra.Command, s []string) {
{"USAGE", command.UsageString()},
{"CORE COMMANDS", strings.Join(coreCommands, "\n")},
{"ADDITIONAL COMMANDS", strings.Join(additionalCommands, "\n")},
{"FLAGS", strings.TrimRight(command.LocalFlags().FlagUsages(), "\n")},
{"EXAMPLES", `
$ cd your-repository
$ gh pr list
$ gh issue create
$ gh repo clone
$ gh pr checkout 321`},
{"LEARN MORE", `
Use "gh <command> <subcommand> --help" for more information about a command.
@ -260,7 +261,6 @@ func rootHelpFunc(command *cobra.Command, s []string) {
{"FEEDBACK", `
Fill out our feedback form <https://forms.gle/umxd3h31c7aMQFKG7>
Open an issue using gh issue create -R cli/cli`},
{"FLAGS", strings.TrimRight(command.LocalFlags().FlagUsages(), "\n")},
}
out := colorableOut(command)