From: Gerrit Pape Date: Fri, 22 Feb 2008 08:55:29 +0000 (+0000) Subject: git-merge-index documentation: clarify synopsis X-Git-Tag: v1.5.5-rc0~168 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c7fae5fc68974eec9b60750424946a67cc143ad2;p=git.git git-merge-index documentation: clarify synopsis The options following are not -a, --, or ..., but either -a, or -- ..., while -- is optional. Signed-off-by: Gerrit Pape Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-merge-index.txt b/Documentation/git-merge-index.txt index 5d816d0d8..19ee017ae 100644 --- a/Documentation/git-merge-index.txt +++ b/Documentation/git-merge-index.txt @@ -8,7 +8,7 @@ git-merge-index - Run a merge for files needing merging SYNOPSIS -------- -'git-merge-index' [-o] [-q] (-a | \-- | \*) +'git-merge-index' [-o] [-q] (-a | [--] \*) DESCRIPTION ----------- diff --git a/merge-index.c b/merge-index.c index bbb700b54..7491c56ad 100644 --- a/merge-index.c +++ b/merge-index.c @@ -91,7 +91,7 @@ int main(int argc, char **argv) signal(SIGCHLD, SIG_DFL); if (argc < 3) - usage("git-merge-index [-o] [-q] (-a | *)"); + usage("git-merge-index [-o] [-q] (-a | [--] *)"); setup_git_directory(); read_cache();