- From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 28 Jul 2007 10:44:34 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv32363
Modified Files:
checklink
Log Message:
Remove the deprecated (since 2004, link checker 4.1) -n/--noacclanguage and -y/--proxy command line options.
Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.54
retrieving revision 4.55
diff -u -d -r4.54 -r4.55
--- checklink 28 Jul 2007 10:41:15 -0000 4.54
+++ checklink 28 Jul 2007 10:44:32 -0000 4.55
@@ -211,7 +211,6 @@
Redirects => 1,
Dir_Redirects => 1,
Accept_Language => $cmdline ? undef : $ENV{HTTP_ACCEPT_LANGUAGE},
- HTTP_Proxy => undef,
Hide_Same_Realm => 0,
Depth => 0, # < 0 means unlimited recursion.
Sleep_Time => 1,
@@ -279,7 +278,6 @@
$ua->conn_cache({ total_capacity => 1}); # 1 keep-alive connection
$ua->delay($Opts{Sleep_Time}/60);
$ua->timeout($Opts{Timeout});
-$ua->proxy('http', 'http://' . $Opts{HTTP_Proxy}) if $Opts{HTTP_Proxy};
if ($Opts{Command_Line}) {
@@ -465,17 +463,6 @@
'masquerade=s' => \$masq,
'hide-same-realm' => \$Opts{Hide_Same_Realm},
'V|version' => \&version,
- # Deprecated options:
- 'n|noacclanguage' => sub { warn("*** Warning: The " .
- "-n/--noacclanguage option is " .
- "deprecated and has no effect.\n");
- },
- 'y|proxy=s' => sub { warn("*** Warning: The -y/--proxy " .
- "option is deprecated, use the " .
- "http_proxy\n " .
- "environment variable instead.\n");
- $Opts{HTTP_Proxy} = $_[1];
- },
)
|| usage(1);
Received on Saturday, 28 July 2007 10:44:40 UTC