diff options
author | Štěpán Němec <stepnem@gmail.com> | 2010-11-04 18:18:17 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-05 18:05:31 +0100 |
commit | 9edb8a0f7b3e2ca06b360abce2e2aaa2b5760a68 (patch) | |
tree | 65d5e4b8eef63a5c84e656610901fc91197aed1a /builtin | |
parent | CodingGuidelines: Add a section on writing documentation (diff) | |
download | git-9edb8a0f7b3e2ca06b360abce2e2aaa2b5760a68.tar.xz git-9edb8a0f7b3e2ca06b360abce2e2aaa2b5760a68.zip |
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 <stepnem@gmail.com>
Acked-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/diff.c b/builtin/diff.c index a43d326363..945e7583a8 100644 --- a/builtin/diff.c +++ b/builtin/diff.c @@ -22,7 +22,7 @@ struct blobinfo { }; static const char builtin_diff_usage[] = -"git diff <options> <rev>{0,2} -- <path>*"; +"git diff [<options>] [<commit> [<commit>]] [--] [<path>...]"; static void stuff_change(struct diff_options *opt, unsigned old_mode, unsigned new_mode, |