summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Stefan Naewe <stefan.naewe@atlas-elektronik.com>2008-11-11 16:52:31 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-11-11 13:24:00 -0800
commit0a2bb55848c031f431d8507d0083247ece126b8f (patch)
treeffc15b9c6fa02a0f5338c615f467b37a88685ba8
parentMakefile: help people who run 'make check' by mistake (diff)
downloadtgif-0a2bb55848c031f431d8507d0083247ece126b8f.tar.xz
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>
-rw-r--r--builtin-ls-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-ls-remote.c b/builtin-ls-remote.c
index c21b841e7c..78a88f7476 100644
--- a/builtin-ls-remote.c
+++ b/builtin-ls-remote.c
@@ -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