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>
maint
Jonathan Nieder 2010-02-14 05:55:53 -06:00 committed by Junio C Hamano
parent e923eaeb90
commit 9fabb6d751
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ git-var - Show a git logical variable


SYNOPSIS SYNOPSIS
-------- --------
'git var' [ -l | <variable> ] 'git var' ( -l | <variable> )


DESCRIPTION DESCRIPTION
----------- -----------

View File

@ -6,7 +6,7 @@
#include "cache.h" #include "cache.h"
#include "exec_cmd.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) static const char *editor(int flag)
{ {