Fix {update,checkout}-index usage strings

The `<file>' argument is optional in both cases (the man pages are
already correct).

Signed-off-by: Štěpán Němec <stepnem@gmail.com>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Štěpán Němec
2010-10-08 19:31:20 +02:00
committed by Junio C Hamano
parent 884220653f
commit d0bb136630
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ static void checkout_all(const char *prefix, int prefix_length)
}
static const char * const builtin_checkout_index_usage[] = {
"git checkout-index [options] [--] <file>...",
"git checkout-index [options] [--] [<file>...]",
NULL
};