X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;ds=sidebyside;f=webcit%2Fwebserver.c;h=ef1c5eb8e66cd4ef1b19eccaff7f80c76b59397a;hb=73ee6427a4945bd56184cb06be67748f198b9bed;hp=07b3e9645c67d62d4947438a951bf0651af2c04e;hpb=425bd2ebf1274f49490563876fdea4f80a113266;p=citadel.git 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)