зеркало из https://github.com/microsoft/git.git
Documentation: clarify which parameters are optional to git-cherry
An earlier parameter is only optional when all of the later parameters are omitted. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
f296802211
Коммит
3bc52d7a95
|
@ -7,7 +7,7 @@ git-cherry - Find commits not merged upstream
|
|||
|
||||
SYNOPSIS
|
||||
--------
|
||||
'git cherry' [-v] [<upstream>] [<head>] [<limit>]
|
||||
'git cherry' [-v] [<upstream> [<head> [<limit>]]]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
|
|
|
@ -1071,7 +1071,7 @@ static int add_pending_commit(const char *arg, struct rev_info *revs, int flags)
|
|||
}
|
||||
|
||||
static const char cherry_usage[] =
|
||||
"git cherry [-v] [<upstream>] [<head>] [<limit>]";
|
||||
"git cherry [-v] [<upstream> [<head> [<limit>]]]";
|
||||
int cmd_cherry(int argc, const char **argv, const char *prefix)
|
||||
{
|
||||
struct rev_info revs;
|
||||
|
|
Загрузка…
Ссылка в новой задаче