From 867f38970f0229fedb7404ee1f1bc28fdfc3d184 Mon Sep 17 00:00:00 2001 From: Cristian Dominguez Date: Fri, 13 Nov 2020 10:10:53 -0300 Subject: [PATCH] Fix USAGE help for some commands --- pkg/cmd/alias/alias.go | 2 +- pkg/cmd/config/config.go | 2 +- pkg/cmd/gist/gist.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cmd/alias/alias.go b/pkg/cmd/alias/alias.go index 0a2971f04..8c50d6ff9 100644 --- a/pkg/cmd/alias/alias.go +++ b/pkg/cmd/alias/alias.go @@ -11,7 +11,7 @@ import ( func NewCmdAlias(f *cmdutil.Factory) *cobra.Command { cmd := &cobra.Command{ - Use: "alias", + Use: "alias ", Short: "Create command shortcuts", Long: heredoc.Doc(` Aliases can be used to make shortcuts for gh commands or to compose multiple commands. diff --git a/pkg/cmd/config/config.go b/pkg/cmd/config/config.go index 7cecb66cb..d5621605f 100644 --- a/pkg/cmd/config/config.go +++ b/pkg/cmd/config/config.go @@ -24,7 +24,7 @@ func NewCmdConfig(f *cmdutil.Factory) *cobra.Command { } cmd := &cobra.Command{ - Use: "config", + Use: "config ", Short: "Manage configuration for gh", Long: longDoc.String(), } diff --git a/pkg/cmd/gist/gist.go b/pkg/cmd/gist/gist.go index 41808f4b4..9a4d42b87 100644 --- a/pkg/cmd/gist/gist.go +++ b/pkg/cmd/gist/gist.go @@ -12,7 +12,7 @@ import ( func NewCmdGist(f *cmdutil.Factory) *cobra.Command { cmd := &cobra.Command{ - Use: "gist", + Use: "gist ", Short: "Manage gists", Long: `Work with GitHub gists.`, Annotations: map[string]string{