Move feedback to the bottom

This commit is contained in:
Corey Johnson 2020-04-22 13:49:42 -07:00
parent a4429aae41
commit 6d20283a7a

View file

@ -235,17 +235,17 @@ func rootHelpFunc(command *cobra.Command, s []string) {
gh <command> [subcommand] [flags]`},
{"CORE COMMANDS", strings.Join(coreCommands, "\n")},
{"ADDITIONAL COMMANDS", strings.Join(additionalCommands, "\n")},
{"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")},
{"EXAMPLES", `
$ cd your-repository
$ gh pr list
$ gh pr checkout 321`},
{"LEARN MORE", `
Use "gh <command> <subcommand> --help" for more information about a command.
Read the manual at <http://cli.github.com/manual>`},
Read the manual at <http://cli.github.com/manual>`},
{"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)