summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Naewe <stefan.naewe@atlas-elektronik.com>2008-11-11 15:52:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-11-11 21:24:00 (GMT)
commit0a2bb55848c031f431d8507d0083247ece126b8f (patch)
treeffc15b9c6fa02a0f5338c615f467b37a88685ba8
parent912f9980d233961c48a225cce2657f165c98c8ae (diff)
downloadgit-0a2bb55848c031f431d8507d0083247ece126b8f.zip
git-0a2bb55848c031f431d8507d0083247ece126b8f.tar.gz
git-0a2bb55848c031f431d8507d0083247ece126b8f.tar.bz2
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 c21b841..78a88f7 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