X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserver_main.c;fp=citadel%2Fserver_main.c;h=3e94a8ab124fa6e66d38fb3f37bd58434f1105c9;hb=7395c7c662ad7e40a99aef8937e8f90d9e9a729a;hp=8df0f343a249fd01525e917530ddd2530d1f1569;hpb=8673d150a3439a3e976d8d41d73c9811a76762af;p=citadel.git diff --git a/citadel/server_main.c b/citadel/server_main.c index 8df0f343a..3e94a8ab1 100644 --- a/citadel/server_main.c +++ b/citadel/server_main.c @@ -94,7 +94,7 @@ int main(int argc, char **argv) InitializeMasterTSD(); /* parse command-line arguments */ - while ((a=getopt(argc, argv, "l:dh:x:t:B:Dru:s")) != EOF) switch(a) { + while ((a=getopt(argc, argv, "l:dh:x:t:B:Dru:s:")) != EOF) switch(a) { case 'l': safestrncpy(facility, optarg, sizeof(facility)); @@ -155,9 +155,9 @@ int main(int argc, char **argv) } break; - /* -s tells the server to suppress fixing any discrepancies found during sanity checks, but exit after those checks complete */ + /* -s tells the server to behave differently during sanity checks */ case 's': - sanity_diag_mode = 1; + sanity_diag_mode = atoi(optarg); break; default: