X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fwebserver.c;h=ef1c5eb8e66cd4ef1b19eccaff7f80c76b59397a;hp=07b3e9645c67d62d4947438a951bf0651af2c04e;hb=d04995c5146e2987bea4875e88c5e6da04ecc048;hpb=253b52140eb6e4266261bce1bfb3b597ff8d3f68 diff --git a/webcit/webserver.c b/webcit/webserver.c index 07b3e9645..ef1c5eb8e 100644 --- a/webcit/webserver.c +++ b/webcit/webserver.c @@ -109,9 +109,9 @@ int main(int argc, char **argv) /* Parse command line */ #ifdef HAVE_OPENSSL - while ((a = getopt(argc, argv, "u:h:i:p:t:T:B:x:dD:G:cfsS:Z")) != EOF) + while ((a = getopt(argc, argv, "u:h:i:p:t:T:B:x:g:dD:G:cfsS:Z")) != EOF) #else - while ((a = getopt(argc, argv, "u:h:i:p:t:T:B:x:dD:G:cfZ")) != EOF) + while ((a = getopt(argc, argv, "u:h:i:p:t:T:B:x:g:dD:G:cfZ")) != EOF) #endif switch (a) { case 'u': @@ -136,6 +136,9 @@ int main(int argc, char **argv) pidfile = strdup(optarg); running_as_daemon = 1; break; + case 'g': + default_landing_page = strdup(optarg); + break; case 'B': /* Basesize */ basesize = atoi(optarg); if (basesize > 2)