X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fcheckout-index.c;h=91fb9bfc624e3dc6556707e4a275c1d5543b5ce6;hb=76946b76fe3d26507d61cae97aa0676fad24ed92;hp=65cbee0552b8e2d5ed7cfd57781031d72c1cdd98;hpb=9b1054d93e7e8564d0d9865cb7118cb6e756c74b;p=git.git diff --git a/builtin/checkout-index.c b/builtin/checkout-index.c index 65cbee055..91fb9bfc6 100644 --- a/builtin/checkout-index.c +++ b/builtin/checkout-index.c @@ -217,9 +217,8 @@ int cmd_checkout_index(int argc, const char **argv, const char *prefix) 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,