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>
Stefan Naewe committed
Nov 11, 2008 at 16:52 UTC
0a2bb55848c031f431d8507d0083247ece126b8f
1 file changed
+1
-1
builtin-ls-remote.c
+1
-1
@@ -4,7 +4,7 @@
4
#include "remote.h"
5
6
static const char ls_remote_usage[] =
7
-"git ls-remote [--upload-pack=<git-upload-pack>] [<host>:]<directory>";
7
+"git ls-remote [--heads] [--tags] [-u <exec> | --upload-pack <exec>] <repository> <refs>...";
8
9
/*
10
* Is there one among the list of patterns that match the tail part