X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fsysdep.c;h=4b82115f85c20bf26d748726018075ffed863483;hb=31083c21a8e384b70817ff1b32ae4f2007b19e60;hp=43d6355735da7eef6cf45e1b5bb3eff5a473d522;hpb=59815240abeaf32e1d7a79d277220f2592e468d7;p=citadel.git diff --git a/citadel/sysdep.c b/citadel/sysdep.c index 43d635573..4b82115f8 100644 --- a/citadel/sysdep.c +++ b/citadel/sysdep.c @@ -825,6 +825,10 @@ int main(int argc, char **argv) home_specified = 1; } + else if (!strncmp(argv[a], "-f", 2)) { + do_defrag = 1; + } + /* -r tells the server not to drop root permissions. don't use * this unless you know what you're doing. this should be * removed in the next release if it proves unnecessary. */ @@ -833,9 +837,9 @@ int main(int argc, char **argv) /* any other parameter makes it crash and burn */ else { - lprintf(1, "citserver: usage: "); - lprintf(1, "citserver [-tTraceFile]"); - lprintf(1, " [-d] [-xLogLevel] [-hHomeDir]\n"); + lprintf(1, "citserver: usage: " + "citserver [-tTraceFile] [-d] [-f]" + " [-xLogLevel] [-hHomeDir]\n"); exit(1); }