- From: Mercurial notifier <nobody@w3.org>
- Date: Thu, 05 Aug 2010 14:47:16 +0000
- To: link-checker updates <www-validator-cvs@w3.org>
changeset: 254:e5d0056ac45b user: ville date: Sun Oct 26 18:24:53 2008 +0000 files: bin/checklink description: Fix --exclude-docs for older Getopt::Long versions thanks to Michael Ernst for pointing it out. diff -r 6c90e7fbe029 -r e5d0056ac45b bin/checklink --- a/bin/checklink Sat Oct 25 19:58:18 2008 +0000 +++ b/bin/checklink Sun Oct 26 18:24:53 2008 +0000 @@ -5,7 +5,7 @@ # (c) 1999-2008 World Wide Web Consortium # based on Renaud Bruyeron's checklink.pl # -# $Id: checklink,v 4.123 2008-10-25 19:57:45 mernst Exp $ +# $Id: checklink,v 4.124 2008-10-26 18:24:53 ville Exp $ # # This program is licensed under the W3C(r) Software License: # http://www.w3.org/Consortium/Legal/copyright-software @@ -260,7 +260,7 @@ $PROGRAM = 'W3C-checklink'; $VERSION = '4.3'; $REVISION = sprintf('version %s (c) 1999-2008 W3C', $VERSION); - my ($cvsver) = q$Revision: 4.123 $ =~ /(\d+[\d\.]*\.\d+)/; + my ($cvsver) = q$Revision: 4.124 $ =~ /(\d+[\d\.]*\.\d+)/; $AGENT = sprintf('%s/%s [%s] %s', $PROGRAM, $VERSION, $cvsver, (W3C::UserAgent::USE_ROBOT_UA @@ -617,7 +617,7 @@ if $Opts{Depth} == 0; }, 'l|location=s' => \@locs, 'X|exclude=s' => \$Opts{Exclude}, - 'exclude-docs=s@' => \$Opts{Exclude_Docs}, + 'exclude-docs=s@' => \@{$Opts{Exclude_Docs}}, 'u|user=s' => \$Opts{User}, 'p|password=s' => \$Opts{Password}, 't|timeout=i' => \$Opts{Timeout},
Received on Thursday, 5 August 2010 14:47:32 UTC