git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git ls-remote: make usage string match manpage
@ 2008-11-11 15:52 Stefan Naewe
  2008-11-12  0:50 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Naewe @ 2008-11-11 15:52 UTC (permalink / raw)
  To: git; +Cc: Stefan Naewe

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>
---
 builtin-ls-remote.c |    2 +-
 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
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] git ls-remote: make usage string match manpage
  2008-11-11 15:52 [PATCH] git ls-remote: make usage string match manpage Stefan Naewe
@ 2008-11-12  0:50 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2008-11-12  0:50 UTC (permalink / raw)
  To: Stefan Naewe; +Cc: git

Thanks, will apply.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-12  0:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 15:52 [PATCH] git ls-remote: make usage string match manpage Stefan Naewe
2008-11-12  0:50 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).