docs: improve docs for browse command as of #5352

This commit is contained in:
ANKDDEV 2024-12-06 13:45:22 +03:00
parent d60e5ffba3
commit 3e647385f7
No known key found for this signature in database
GPG key ID: FAEFD2A1E91F4616

View file

@ -59,8 +59,8 @@ func NewCmdBrowse(f *cmdutil.Factory, runF func(*BrowseOptions) error) *cobra.Co
}
cmd := &cobra.Command{
Long: "Open the GitHub repository in the web browser.",
Short: "Open the repository in the browser",
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",
Use: "browse [<number> | <path> | <commit-SHA>]",
Args: cobra.MaximumNArgs(1),
Example: heredoc.Doc(`