diff --git a/pkg/cmd/extension/command.go b/pkg/cmd/extension/command.go index cbf92de0a..227846460 100644 --- a/pkg/cmd/extension/command.go +++ b/pkg/cmd/extension/command.go @@ -43,7 +43,7 @@ func NewCmdExtension(f *cmdutil.Factory) *cobra.Command { will be forwarded to the %[1]sgh-%[1]s executable of the extension. An extension cannot override any of the core gh commands. If an extension name conflicts - with a core gh command you can use %[1]sgh extension exec %[1]s. + with a core gh command, you can use %[1]sgh extension exec %[1]s. See the list of available extensions at . `, "`"), @@ -107,7 +107,7 @@ func NewCmdExtension(f *cmdutil.Factory) *cobra.Command { When not connected to a terminal, the ✓ character is rendered as the word "installed" but otherwise the order and content of the columns - is the same. + are the same. This command behaves similarly to %[1]sgh search repos%[1]s but does not support as many search qualifiers. For a finer grained search of diff --git a/pkg/cmd/issue/view/view.go b/pkg/cmd/issue/view/view.go index 58341a98e..7a63f31e3 100644 --- a/pkg/cmd/issue/view/view.go +++ b/pkg/cmd/issue/view/view.go @@ -51,7 +51,7 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman Long: heredoc.Docf(` Display the title, body, and other information about an issue. - With %[1]s--web%[1]s, open the issue in a web browser instead. + With %[1]s--web%[1]s flag, open the issue in a web browser instead. `, "`"), Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/pkg/cmd/label/create.go b/pkg/cmd/label/create.go index 784b8f40f..414e9eb5e 100644 --- a/pkg/cmd/label/create.go +++ b/pkg/cmd/label/create.go @@ -58,7 +58,7 @@ func newCmdCreate(f *cmdutil.Factory, runF func(*createOptions) error) *cobra.Co Use: "create ", Short: "Create a new label", Long: heredoc.Docf(` - Create a new label on GitHub, or updates an existing one with %[1]s--force%[1]s. + Create a new label on GitHub, or update an existing one with %[1]s--force%[1]s. Must specify name for the label. The description and color are optional. If a color isn't provided, a random one will be chosen. diff --git a/pkg/cmd/pr/view/view.go b/pkg/cmd/pr/view/view.go index 9a1eb0a8f..767e8836c 100644 --- a/pkg/cmd/pr/view/view.go +++ b/pkg/cmd/pr/view/view.go @@ -48,7 +48,7 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman Without an argument, the pull request that belongs to the current branch is displayed. - With %[1]s--web%[1]s, open the pull request in a web browser instead. + With %[1]s--web%[1]s flag, open the pull request in a web browser instead. `, "`"), Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/pkg/cmd/release/create/create.go b/pkg/cmd/release/create/create.go index 6110d9c6a..022651a16 100644 --- a/pkg/cmd/release/create/create.go +++ b/pkg/cmd/release/create/create.go @@ -98,7 +98,7 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co When using automatically generated release notes, a release title will also be automatically generated unless a title was explicitly passed. Additional release notes can be prepended to - automatically generated notes by using the notes parameter. + automatically generated notes by using the %[1]s--notes%[1]s flag. `, "`"), Example: heredoc.Doc(` Interactively create a release diff --git a/pkg/cmd/run/rerun/rerun.go b/pkg/cmd/run/rerun/rerun.go index c37dff633..1efe5fb8b 100644 --- a/pkg/cmd/run/rerun/rerun.go +++ b/pkg/cmd/run/rerun/rerun.go @@ -50,7 +50,8 @@ func NewCmdRerun(f *cmdutil.Factory, runF func(*RerunOptions) error) *cobra.Comm However, this %[1]s%[1]s should not be used with the %[1]s--job%[1]s flag and will result in the API returning %[1]s404 NOT FOUND%[1]s. Instead, you can get the correct job IDs using the following command: - %[1]sgh run view --json jobs --jq '.jobs[] | {name, databaseId}'%[1]s. + + gh run view --json jobs --jq '.jobs[] | {name, databaseId}' `, "`"), Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/pkg/cmd/workflow/run/run.go b/pkg/cmd/workflow/run/run.go index 721987c89..19c650984 100644 --- a/pkg/cmd/workflow/run/run.go +++ b/pkg/cmd/workflow/run/run.go @@ -57,7 +57,7 @@ func NewCmdRun(f *cmdutil.Factory, runF func(*RunOptions) error) *cobra.Command Create a %[1]sworkflow_dispatch%[1]s event for a given workflow. This command will trigger GitHub Actions to run a given workflow file. The given workflow file must - support a %[1]son.workflow_dispatch%[1]s trigger in order to be run in this way. + support an %[1]son.workflow_dispatch%[1]s trigger in order to be run in this way. If the workflow file supports inputs, they can be specified in a few ways: