Skip to content

Commit 0a2bb55

Browse files
Stefan Naewegitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 912f998 commit 0a2bb55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-ls-remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "remote.h"
55

66
static const char ls_remote_usage[] =
7-
"git ls-remote [--upload-pack=<git-upload-pack>] [<host>:]<directory>";
7+
"git ls-remote [--heads] [--tags] [-u <exec> | --upload-pack <exec>] <repository> <refs>...";
88

99
/*
1010
* Is there one among the list of patterns that match the tail part

0 commit comments

Comments
 (0)