Skip to content

Commit

Permalink
git ls-remote: make usage string match manpage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Naewe authored and Junio C Hamano committed Nov 11, 2008
1 parent 912f998 commit 0a2bb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-ls-remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a2bb55

Please sign in to comment.