X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-gc.c;h=c304638b7845601f184149d3c48cbc1ea1e195f5;hb=160baa0d9cbdfcdb6251aa5ede77c59c0d53edfd;hp=093517e390044055039b9f4e58132c73d17b741d;hpb=03c6e97f809e5b89089a2c689d6a319e8d471455;p=git.git diff --git a/builtin-gc.c b/builtin-gc.c index 093517e39..c304638b7 100644 --- a/builtin-gc.c +++ b/builtin-gc.c @@ -180,12 +180,12 @@ int cmd_gc(int argc, const char **argv, const char *prefix) char buf[80]; struct option builtin_gc_options[] = { + OPT__QUIET(&quiet), { OPTION_STRING, 0, "prune", &prune_expire, "date", "prune unreferenced objects", PARSE_OPT_OPTARG, NULL, (intptr_t)prune_expire }, OPT_BOOLEAN(0, "aggressive", &aggressive, "be more thorough (increased runtime)"), OPT_BOOLEAN(0, "auto", &auto_gc, "enable auto-gc mode"), - OPT_BOOLEAN('q', "quiet", &quiet, "suppress progress reports"), OPT_END() };