Browse Source

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 15 years ago committed by Junio C Hamano
parent
commit
9fabb6d751
  1. 2
      Documentation/git-var.txt
  2. 2
      builtin-var.c

2
Documentation/git-var.txt

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

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

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

2
builtin-var.c

@ -6,7 +6,7 @@ @@ -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)
{

Loading…
Cancel
Save