doc: fix git credential synopsis

The subcommand of git credential is not optional.

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pull/790/merge
Jean-Noël Avila 11 months ago committed by Junio C Hamano
parent af6d1d602a
commit b7bf32b0c5
  1. 2
      Documentation/git-credential.txt
  2. 2
      builtin/credential.c

@ -8,7 +8,7 @@ git-credential - Retrieve and store user credentials
SYNOPSIS
--------
------------------
git credential <fill|approve|reject>
'git credential' (fill|approve|reject)
------------------
DESCRIPTION

@ -4,7 +4,7 @@
#include "config.h"
static const char usage_msg[] =
"git credential [fill|approve|reject]";
"git credential (fill|approve|reject)";
int cmd_credential(int argc, const char **argv, const char *prefix)
{

Loading…
Cancel
Save