Merge pull request #2405 from cristiand391/fix-usage-help
Minor fix in USAGE help info for some commands
This commit is contained in:
commit
fed4df2afa
3 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue