diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-02-14 05:55:53 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-14 18:23:16 -0800 |
commit | 9fabb6d7513ab0a264de146d72a8447bc85b5e85 (patch) | |
tree | 214137040bc567e35d4bc5b1de644be18c492d11 | |
parent | e923eaeb901ff056421b9007adcbbce271caa7b6 (diff) | |
download | git-9fabb6d7513ab0a264de146d72a8447bc85b5e85.tar.gz git-9fabb6d7513ab0a264de146d72a8447bc85b5e85.tar.xz |
Fix 'git var' usage synopsis
The parameter to 'git var' is not optional.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | Documentation/git-var.txt | 2 | ||||
-rw-r--r-- | builtin-var.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-var.txt b/Documentation/git-var.txt index bb981822a..458f3e275 100644 --- a/Documentation/git-var.txt +++ b/Documentation/git-var.txt @@ -8,7 +8,7 @@ git-var - Show a git logical variable SYNOPSIS -------- -'git var' [ -l | <variable> ] +'git var' ( -l | <variable> ) DESCRIPTION ----------- diff --git a/builtin-var.c b/builtin-var.c index 228051819..e6ee7bc0b 100644 --- a/builtin-var.c +++ b/builtin-var.c @@ -6,7 +6,7 @@ #include "cache.h" #include "exec_cmd.h" -static const char var_usage[] = "git var [-l | <variable>]"; +static const char var_usage[] = "git var (-l | <variable>)"; static const char *editor(int flag) { |