W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2007

perl/modules/W3C/LinkChecker/bin checklink,4.54,4.55

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 28 Jul 2007 10:44:34 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IEjmk-0008QS-9a@lionel-hutz.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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:58 GMT