git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug: "git-remote ls -h"
@ 2022-06-29 15:26 Ian Whitlock
  2022-06-29 16:29 ` Eric Sunshine
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Whitlock @ 2022-06-29 15:26 UTC (permalink / raw)
  To: git

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 transmit


Small bug, but a bug nonetheless.

Thanks for building such a lovely tool

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-30 18:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-29 15:26 Bug: "git-remote ls -h" Ian Whitlock
2022-06-29 16:29 ` Eric Sunshine
2022-06-30 18:34   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).