Remove the feedback section from gh help

This commit is contained in:
Mislav Marohnić 2022-11-09 16:43:18 +01:00
parent b12ea845ef
commit b3aeaf6c2e
No known key found for this signature in database
2 changed files with 0 additions and 6 deletions

View file

@ -174,9 +174,6 @@ func rootHelpFunc(f *cmdutil.Factory, command *cobra.Command, args []string) {
helpEntries = append(helpEntries, helpEntry{"LEARN MORE", `
Use 'gh <command> <subcommand> --help' for more information about a command.
Read the manual at https://cli.github.com/manual`})
if _, ok := command.Annotations["help:feedback"]; ok {
helpEntries = append(helpEntries, helpEntry{"FEEDBACK", command.Annotations["help:feedback"]})
}
out := f.IOStreams.Out
for _, e := range helpEntries {

View file

@ -49,9 +49,6 @@ func NewCmdRoot(f *cmdutil.Factory, version, buildDate string) *cobra.Command {
$ gh pr checkout 321
`),
Annotations: map[string]string{
"help:feedback": heredoc.Doc(`
Open an issue using 'gh issue create -R github.com/cli/cli'
`),
"versionInfo": versionCmd.Format(version, buildDate),
},
}