summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e923eae)
raw | patch | inline | side by side (parent: e923eae)
author | Jonathan Nieder <jrnieder@gmail.com> | |
Sun, 14 Feb 2010 11:55:53 +0000 (05:55 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 15 Feb 2010 02:23:16 +0000 (18:23 -0800) |
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>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-var.txt | patch | blob | history | |
builtin-var.c | patch | blob | history |
index bb981822a470b2df6c79156db8aa94569869e43e..458f3e2755fcc6431757af6178942ef756f6a5bd 100644 (file)
SYNOPSIS
--------
-'git var' [ -l | <variable> ]
+'git var' ( -l | <variable> )
DESCRIPTION
-----------
diff --git a/builtin-var.c b/builtin-var.c
index 22805181900c3cd33da0b92a2560b19a0cf68842..e6ee7bc0b643d242d3f8962e29cdadcbe8cf4c54 100644 (file)
--- a/builtin-var.c
+++ b/builtin-var.c
#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)
{