Skip to content

Commit

Permalink
Fix 'git var' usage synopsis
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonathan Nieder authored and Junio C Hamano committed Feb 15, 2010
1 parent e923eae commit 9fabb6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/git-var.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-var - Show a git logical variable

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

DESCRIPTION
-----------
Expand Down
2 changes: 1 addition & 1 deletion builtin-var.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 9fabb6d

Please sign in to comment.