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>
This commit is contained in:
Jean-Noël Avila 2021-10-28 16:21:56 +00:00 committed by Junio C Hamano
parent af6d1d602a
commit b7bf32b0c5
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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)
{