Browse Source

git ls-remote: make usage string match manpage

The usage string of 'git ls-remote' is pretty terse. The manpage
however gives the correct 'synopsis'.

Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Stefan Naewe 16 years ago committed by Junio C Hamano
parent
commit
0a2bb55848
  1. 2
      builtin-ls-remote.c

2
builtin-ls-remote.c

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
#include "remote.h"

static const char ls_remote_usage[] =
"git ls-remote [--upload-pack=<git-upload-pack>] [<host>:]<directory>";
"git ls-remote [--heads] [--tags] [-u <exec> | --upload-pack <exec>] <repository> <refs>...";

/*
* Is there one among the list of patterns that match the tail part

Loading…
Cancel
Save