Merge pull request #39 from bchadwic/first-browse-pull

keeping working branch up to speed
This commit is contained in:
Benjamin Chadwick 2021-06-08 13:21:27 -07:00 committed by GitHub
commit 5b8a849a9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,13 +43,13 @@ func NewCmdBrowse(f *cmdutil.Factory) *cobra.Command {
}
cmd := &cobra.Command{
Long: "Open specific pages in the browser on GitHub",
Short: "Open GitHub in the browser",
Long: "Open the GitHub repository in the web browser.",
Short: "Open the repository in the browser",
Use: "browse {<number> | <path>}",
Args: cobra.RangeArgs(0, 2),
Example: heredoc.Doc(`
$ gh browse
#=> Open current repository to the default branch
#=> Open the home page of the current repository
$ gh browse 217
#=> Open issue or pull request 217