Skip to content

Commit

Permalink
Merge pull request cli#10447 from iamazeem/10432-lower-kebab-case-args
Browse files Browse the repository at this point in the history
Update usage to lower-kebab-case
  • Loading branch information
williammartin authored Feb 14, 2025
2 parents e047d4a + 0fb8790 commit b642da2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/browse/browse.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/gist/rename/rename.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/repo/license/view/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b642da2

Please sign in to comment.