Remove the feedback section from gh help
This commit is contained in:
parent
b12ea845ef
commit
b3aeaf6c2e
2 changed files with 0 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue