]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/gc.c
Replace deprecated OPT_BOOLEAN by OPT_BOOL
[thirdparty/git.git] / builtin / gc.c
index 6be6c8d65b26c9149aac2b6c1de6e3217c6ceea7..c4f7390bcf8a6a86feaa6eab678a24403da6b56a 100644 (file)
@@ -178,8 +178,8 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
                { OPTION_STRING, 0, "prune", &prune_expire, N_("date"),
                        N_("prune unreferenced objects"),
                        PARSE_OPT_OPTARG, NULL, (intptr_t)prune_expire },
-               OPT_BOOLEAN(0, "aggressive", &aggressive, N_("be more thorough (increased runtime)")),
-               OPT_BOOLEAN(0, "auto", &auto_gc, N_("enable auto-gc mode")),
+               OPT_BOOL(0, "aggressive", &aggressive, N_("be more thorough (increased runtime)")),
+               OPT_BOOL(0, "auto", &auto_gc, N_("enable auto-gc mode")),
                OPT_END()
        };