Fix USAGE help for some commands

This commit is contained in:
Cristian Dominguez 2020-11-13 10:10:53 -03:00
parent c87deab14a
commit 867f38970f
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{