index 65cbee0552b8e2d5ed7cfd57781031d72c1cdd98..91fb9bfc624e3dc6556707e4a275c1d5543b5ce6 100644 (file)
--- a/builtin/checkout-index.c
+++ b/builtin/checkout-index.c
struct option builtin_checkout_index_options[] = {
OPT_BOOLEAN('a', "all", &all,
"checks out all files in the index"),
- OPT_BOOLEAN('f', "force", &force,
- "forces overwrite of existing files"),
- OPT__QUIET(&quiet),
+ OPT__FORCE(&force, "forces overwrite of existing files"),
+ OPT__QUIET(&quiet, "be quiet"),
OPT_BOOLEAN('n', "no-create", ¬_new,
"don't checkout new files"),
{ OPTION_CALLBACK, 'u', "index", &newfd, NULL,