add OPT__FORCE
[gitweb.git] / builtin / rm.c
index 49461b60c75d214a72cb1882c0d2f0c265e59ab5..9a5990513ab78a7c32cffdbe8b36b20c2509627e 100644 (file)
@@ -142,7 +142,7 @@ static struct option builtin_rm_options[] = {
        OPT__DRY_RUN(&show_only, "dry run"),
        OPT__QUIET(&quiet, "be quiet"),
        OPT_BOOLEAN( 0 , "cached",         &index_only, "only remove from the index"),
-       OPT_BOOLEAN('f', "force",          &force,      "override the up-to-date check"),
+       OPT__FORCE(&force, "override the up-to-date check"),
        OPT_BOOLEAN('r', NULL,             &recursive,  "allow recursive removal"),
        OPT_BOOLEAN( 0 , "ignore-unmatch", &ignore_unmatch,
                                "exit with a zero status even if nothing matched"),