From: hno <> Date: Thu, 21 Dec 2006 07:34:51 +0000 (+0000) Subject: Kill the obsolete -V command line option. Not working, and not in line X-Git-Tag: SQUID_3_0_PRE6~179 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=05f1c52c303814ab93f227fe249682a8aa258317;p=thirdparty%2Fsquid.git Kill the obsolete -V command line option. Not working, and not in line with current squid.conf syntax. --- diff --git a/doc/squid.8.in b/doc/squid.8.in index 6d2f1fb6d3..f94de8971e 100755 --- a/doc/squid.8.in +++ b/doc/squid.8.in @@ -112,8 +112,6 @@ Set Windows Service Command line options in Registry. No daemon mode. .IP -R Do not set REUSEADDR on port. -.IP -V -Virtual host httpd-accelerator. .IP -X Force full debugging. .IP -Y diff --git a/src/main.cc b/src/main.cc index 164d79f42f..260cf201fe 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.438 2006/10/24 04:48:10 wessels Exp $ + * $Id: main.cc,v 1.439 2006/12/21 00:34:51 hno Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -252,7 +252,7 @@ mainParseOptions(int argc, char *argv[]) while ((c = getopt(argc, argv, "CDFNO:RSVYXa:d:f:hik:m::n:rsl:u:vz?")) != -1) #else - while ((c = getopt(argc, argv, "CDFNRSVYXa:d:f:hk:m::sl:u:vz?")) != -1) + while ((c = getopt(argc, argv, "CDFNRSYXa:d:f:hk:m::sl:u:vz?")) != -1) #endif { @@ -291,23 +291,6 @@ mainParseOptions(int argc, char *argv[]) opt_store_doublecheck = 1; break; - case 'V': - - if (Config.Sockaddr.http) - Config.Sockaddr.http->vhost = 1; - -#if USE_SSL - - else if (Config.Sockaddr.https) - Config.Sockaddr.https->http.vhost = 1; - -#endif - - else - fatal("No http_port specified\n"); - - break; - case 'X': /* force full debugging */ sigusr2_handle(SIGUSR2);