docs: improve help for browse command
Co-authored-by: Andy Feller <andyfeller@github.com>
This commit is contained in:
parent
3e647385f7
commit
694e209142
1 changed files with 10 additions and 2 deletions
|
|
@ -59,8 +59,16 @@ func NewCmdBrowse(f *cmdutil.Factory, runF func(*BrowseOptions) error) *cobra.Co
|
|||
}
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Long: "Open the GitHub repository, path inside it, commit, issue or pull request in the web browser.",
|
||||
Short: "Open the repository, path inside it, issue or PR in the browser",
|
||||
Short: "Open repositories, issues, pull requests, and more in the browser",
|
||||
Long: heredoc.Doc(`
|
||||
Transition from the terminal to the web browser to view and interact with:
|
||||
|
||||
- issues
|
||||
- pull requests
|
||||
- repository content
|
||||
- repository profile
|
||||
- repository settings
|
||||
`),
|
||||
Use: "browse [<number> | <path> | <commit-SHA>]",
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
Example: heredoc.Doc(`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue