index 7ba09130cc2d1e9e3043ab867823b50e6227e2de..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__FORCE(&force, "forces overwrite of existing files"),
OPT__QUIET(&quiet, "be quiet"),
OPT_BOOLEAN('n', "no-create", ¬_new,
"don't checkout new files"),