for_each_hash: allow passing a 'void *data' pointer to callback
[gitweb.git] / builtin / tag.c
index 617a58f0583049716c7b73577ac6df0e132bebea..aa1f87d47a3e4bdaa2ca3711c9dfc495fc2247e0 100644 (file)
@@ -382,7 +382,7 @@ int cmd_tag(int argc, const char **argv, const char *prefix)
                OPT_BOOLEAN('s', NULL, &sign, "annotated and GPG-signed tag"),
                OPT_STRING('u', NULL, &keyid, "key-id",
                                        "use another key to sign the tag"),
-               OPT_BOOLEAN('f', "force", &force, "replace the tag if exists"),
+               OPT__FORCE(&force, "replace the tag if exists"),
 
                OPT_GROUP("Tag listing options"),
                {