profclems / glab

The GitLab CLI tool. Archived: now officially adopted by GitLab as the official CLI tool and maintained at https://gitlab.com/gitlab-org/cli. See https://github.com/profclems/glab/issues/983
https://glab.readthedocs.io/
MIT License
2.08k stars 163 forks source link

`glab issue view --help` has copy-paste errors from `glab mr view --help` #972

Closed justin-f-perez closed 2 years ago

justin-f-perez commented 2 years ago

the problem is pretty obvious and even though I have no go experience the fix looks trivial so I'm skipping the issue template and will open an MR in a few mins (if for some reason there is any problem with MR I will edit this issue to match the template)

❯ glab issue view --help | grep mr
  -c, --comments       Show mr comments and activities
  -w, --web            Open mr in a browser. Uses default browser or browser specified in BROWSER variable
❯ glab mr view --help | grep -E '(comments|web)'
  -c, --comments       Show mr comments and activities
  -w, --web            Open mr in a browser. Uses default browser or browser specified in BROWSER variable