From: Štěpán Němec Date: Thu, 4 Nov 2010 17:18:17 +0000 (+0100) Subject: diff,difftool: Don't use the {0,2} notation in usage strings X-Git-Tag: v1.7.4-rc0~91^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9edb8a0f7b3e2ca06b360abce2e2aaa2b5760a68;p=git.git diff,difftool: Don't use the {0,2} notation in usage strings This was the only occurence of that usage, and square brackets are sufficient and already well-established for that purpose. Signed-off-by: Štěpán Němec Acked-by: Sverre Rabbelier Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-diff.txt b/Documentation/git-diff.txt index dd1fb3278..61728f697 100644 --- a/Documentation/git-diff.txt +++ b/Documentation/git-diff.txt @@ -8,7 +8,7 @@ git-diff - Show changes between commits, commit and working tree, etc SYNOPSIS -------- -'git diff' [] {0,2} [--] [...] +'git diff' [] [ []] [--] [...] DESCRIPTION ----------- diff --git a/Documentation/git-difftool.txt b/Documentation/git-difftool.txt index 8250bad2c..a02e3b519 100644 --- a/Documentation/git-difftool.txt +++ b/Documentation/git-difftool.txt @@ -7,7 +7,7 @@ git-difftool - Show changes using common diff tools SYNOPSIS -------- -'git difftool' [] {0,2} [--] [...] +'git difftool' [] [ []] [--] [...] DESCRIPTION ----------- diff --git a/builtin/diff.c b/builtin/diff.c index a43d32636..945e7583a 100644 --- a/builtin/diff.c +++ b/builtin/diff.c @@ -22,7 +22,7 @@ struct blobinfo { }; static const char builtin_diff_usage[] = -"git diff {0,2} -- *"; +"git diff [] [ []] [--] [...]"; static void stuff_change(struct diff_options *opt, unsigned old_mode, unsigned new_mode,