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>
This commit is contained in:
parent
e923eaeb90
commit
9fabb6d751
@ -8,7 +8,7 @@ git-var - Show a git logical variable
|
|||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
'git var' [ -l | <variable> ]
|
'git var' ( -l | <variable> )
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user