Bug: "git-remote ls -h"
- From
- Ian Whitlock <ian@theknown.net>
- Date
- Jun 29, 2022, 15:26 UTC
- Message-ID
- <d2a7caa9-e2ba-457d-9fe9-92b29b5ee47a@www.fastmail.com>
Hi,
I found a bug and couldn't find another way to report it. I hope this is okay. The help output for `git ls-remote` shows that `-h` should display remote HEADs, but instead the help output is displayed!
➜ git ls-remote -h
usage: git ls-remote [--heads] [--tags] [--refs] [--upload-pack=<exec>]
[-q | --quiet] [--exit-code] [--get-url]
[--symref] [<repository> [<refs>...]] -q, --quiet do not print remote URL
--upload-pack <exec> path of git-upload-pack on the remote host
-t, --tags limit to tags
-h, --heads limit to heads
--refs do not show peeled tags
--get-url take url.<base>.insteadOf into account
--sort <key> field name to sort on
--exit-code exit with exit code 2 if no matching refs are found
--symref show underlying ref in addition to the object pointed by it
-o, --server-option <server-specific>
option to transmitSmall bug, but a bug nonetheless.
Thanks for building such a lovely tool