Merge branch 'heathy-helping' of https://github.com/cli/cli into heathy-helping
This commit is contained in:
commit
4b2382c737
1 changed files with 3 additions and 3 deletions
|
|
@ -250,9 +250,10 @@ func rootHelpFunc(command *cobra.Command, s []string) {
|
||||||
{"USAGE", command.UsageString()},
|
{"USAGE", command.UsageString()},
|
||||||
{"CORE COMMANDS", strings.Join(coreCommands, "\n")},
|
{"CORE COMMANDS", strings.Join(coreCommands, "\n")},
|
||||||
{"ADDITIONAL COMMANDS", strings.Join(additionalCommands, "\n")},
|
{"ADDITIONAL COMMANDS", strings.Join(additionalCommands, "\n")},
|
||||||
|
{"FLAGS", strings.TrimRight(command.LocalFlags().FlagUsages(), "\n")},
|
||||||
{"EXAMPLES", `
|
{"EXAMPLES", `
|
||||||
$ cd your-repository
|
$ gh issue create
|
||||||
$ gh pr list
|
$ gh repo clone
|
||||||
$ gh pr checkout 321`},
|
$ gh pr checkout 321`},
|
||||||
{"LEARN MORE", `
|
{"LEARN MORE", `
|
||||||
Use "gh <command> <subcommand> --help" for more information about a command.
|
Use "gh <command> <subcommand> --help" for more information about a command.
|
||||||
|
|
@ -260,7 +261,6 @@ func rootHelpFunc(command *cobra.Command, s []string) {
|
||||||
{"FEEDBACK", `
|
{"FEEDBACK", `
|
||||||
Fill out our feedback form <https://forms.gle/umxd3h31c7aMQFKG7>
|
Fill out our feedback form <https://forms.gle/umxd3h31c7aMQFKG7>
|
||||||
Open an issue using “gh issue create -R cli/cli”`},
|
Open an issue using “gh issue create -R cli/cli”`},
|
||||||
{"FLAGS", strings.TrimRight(command.LocalFlags().FlagUsages(), "\n")},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
out := colorableOut(command)
|
out := colorableOut(command)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue