]> granicus.if.org Git - apache/commitdiff
Documentation says -DDUMP_VHOSTS is equivalent to setting -S
authorMartin Kraemer <martin@apache.org>
Mon, 8 Sep 2003 16:39:04 +0000 (16:39 +0000)
committerMartin Kraemer <martin@apache.org>
Mon, 8 Sep 2003 16:39:04 +0000 (16:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101196 13f79535-47bb-0310-9956-ffa450edef68

server/main.c

index 9016a309982ff2d3be9461ce97c85052771e8f15..5cc84f86afb6a7f9890299c7d0b35761c40db411 100644 (file)
@@ -473,6 +473,9 @@ int main(int argc, const char * const argv[])
         case 'D':
             new = (char **)apr_array_push(ap_server_config_defines);
             *new = apr_pstrdup(pcommands, optarg);
+            /* Setting -D DUMP_VHOSTS is equivalent to setting -S */
+            if (strcmp(optarg, "DUMP_VHOSTS") == 0)
+                configtestonly = 1;
             break;
 
         case 'e':