X Tutup
Skip to content

Commit fed4df2

Browse files
authored
Merge pull request cli#2405 from cristiand391/fix-usage-help
Minor fix in USAGE help info for some commands
2 parents 6a0d38d + 867f389 commit fed4df2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/cmd/alias/alias.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

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

pkg/cmd/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func NewCmdConfig(f *cmdutil.Factory) *cobra.Command {
2424
}
2525

2626
cmd := &cobra.Command{
27-
Use: "config",
27+
Use: "config <command>",
2828
Short: "Manage configuration for gh",
2929
Long: longDoc.String(),
3030
}

pkg/cmd/gist/gist.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
func NewCmdGist(f *cmdutil.Factory) *cobra.Command {
1414
cmd := &cobra.Command{
15-
Use: "gist",
15+
Use: "gist <command>",
1616
Short: "Manage gists",
1717
Long: `Work with GitHub gists.`,
1818
Annotations: map[string]string{

0 commit comments

Comments
 (0)
X Tutup