Skip to content

docs: USAE and ARGUMENTS help page of gh browse does not have explanations about arg of commit SHA #7264

@kkocha

Description

@kkocha

Describe the bug

  • gh version: v.2.25.1 (current latest version)
$ ./gh version
gh version 2.25.1 (2023-03-21)
https://github.com/cli/cli/releases/tag/v2.25.1
  • issue
    gh browse can use commit SHA as arg, but USAE and ARGUMENTS help page does not describe it.
    Only EXAMPLES does.

Steps to reproduce the behavior

  • help page
  1. Run gh help browse
  2. View the output
USAGE
  gh browse [<number> | <path>] [flags]
...
ARGUMENTS
  A browser location can be specified using arguments in the following format:
  - by number for issue or pull request, e.g. "123"; or
  - by path for opening folders and files, e.g. "cmd/gh/main.go"

Expected vs actual behavior

It is expected that USAE and ARGUMENTS help page describes arg of commit SHA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocsgood first issuepriority-3Affects a small number of users or is largely cosmetic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions