summaryrefslogtreecommitdiff
path: root/builtin-ls-remote.c
diff options
context:
space:
mode:
authorStefan Naewe <stefan.naewe@atlas-elektronik.com>2008-11-11 16:52:31 +0100
committerJunio C Hamano <gitster@pobox.com>2008-11-11 13:24:00 -0800
commit0a2bb55848c031f431d8507d0083247ece126b8f (patch)
treeffc15b9c6fa02a0f5338c615f467b37a88685ba8 /builtin-ls-remote.c
parent912f9980d233961c48a225cce2657f165c98c8ae (diff)
downloadgit-0a2bb55848c031f431d8507d0083247ece126b8f.tar.gz
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>
Diffstat (limited to 'builtin-ls-remote.c')
-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