Code

Fix 'git var' usage synopsis
authorJonathan Nieder <jrnieder@gmail.com>
Sun, 14 Feb 2010 11:55:53 +0000 (05:55 -0600)
committerJunio 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>
Documentation/git-var.txt
builtin-var.c

index bb981822a470b2df6c79156db8aa94569869e43e..458f3e2755fcc6431757af6178942ef756f6a5bd 100644 (file)
@@ -8,7 +8,7 @@ git-var - Show a git logical variable
 
 SYNOPSIS
 --------
-'git var' [ -l | <variable> ]
+'git var' ( -l | <variable> )
 
 DESCRIPTION
 -----------
index 22805181900c3cd33da0b92a2560b19a0cf68842..e6ee7bc0b643d242d3f8962e29cdadcbe8cf4c54 100644 (file)
@@ -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)
 {