Merge pull request #10447 from iamazeem/10432-lower-kebab-case-args
Update usage to lower-kebab-case
This commit is contained in:
commit
b642da26d0
3 changed files with 3 additions and 3 deletions
|
|
@ -69,7 +69,7 @@ func NewCmdBrowse(f *cmdutil.Factory, runF func(*BrowseOptions) error) *cobra.Co
|
|||
- Repository home page
|
||||
- Repository settings
|
||||
`),
|
||||
Use: "browse [<number> | <path> | <commit-SHA>]",
|
||||
Use: "browse [<number> | <path> | <commit-sha>]",
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
Example: heredoc.Doc(`
|
||||
$ gh browse
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ func NewCmdRename(f *cmdutil.Factory, runf func(*RenameOptions) error) *cobra.Co
|
|||
}
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "rename {<id> | <url>} <oldFilename> <newFilename>",
|
||||
Use: "rename {<id> | <url>} <old-filename> <new-filename>",
|
||||
Short: "Rename a file in a gist",
|
||||
Long: heredoc.Doc(`Rename a file in the given gist ID / URL.`),
|
||||
Args: cobra.ExactArgs(3),
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman
|
|||
}
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "view {<license-key> | <SPDX-ID>}",
|
||||
Use: "view {<license-key> | <spdx-id>}",
|
||||
Short: "View a specific repository license",
|
||||
Long: heredoc.Docf(`
|
||||
View a specific repository license by license key or SPDX ID.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue