Merge pull request #2405 from cristiand391/fix-usage-help

Minor fix in USAGE help info for some commands
This commit is contained in:
Mislav Marohnić 2020-11-13 16:13:51 +01:00 committed by GitHub
commit fed4df2afa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ import (
func NewCmdAlias(f *cmdutil.Factory) *cobra.Command {
cmd := &cobra.Command{
Use: "alias",
Use: "alias <command>",
Short: "Create command shortcuts",
Long: heredoc.Doc(`
Aliases can be used to make shortcuts for gh commands or to compose multiple commands.

View file

@ -24,7 +24,7 @@ func NewCmdConfig(f *cmdutil.Factory) *cobra.Command {
}
cmd := &cobra.Command{
Use: "config",
Use: "config <command>",
Short: "Manage configuration for gh",
Long: longDoc.String(),
}

View file

@ -12,7 +12,7 @@ import (
func NewCmdGist(f *cmdutil.Factory) *cobra.Command {
cmd := &cobra.Command{
Use: "gist",
Use: "gist <command>",
Short: "Manage gists",
Long: `Work with GitHub gists.`,
Annotations: map[string]string{