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>
This commit is contained in:
Štěpán Němec
2010-11-04 18:18:17 +01:00
committed by Junio C Hamano
parent c455bd8950
commit 9edb8a0f7b
3 changed files with 3 additions and 3 deletions

View File

@ -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,