summaryrefslogtreecommitdiff
path: root/builtin-var.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin-var.c')
-rw-r--r--builtin-var.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-var.c b/builtin-var.c
index 2280518190..70fdb4dec7 100644
--- a/builtin-var.c
+++ b/builtin-var.c
@@ -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)
{
@@ -20,7 +20,7 @@ static const char *editor(int flag)
static const char *pager(int flag)
{
- const char *pgm = git_pager();
+ const char *pgm = git_pager(1);
if (!pgm)
pgm = "cat";