W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2010

link-checker commit: Make --exclude-docs doc more accurate, mention it in "Settings used" if used.

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 05 Aug 2010 14:47:07 +0000
To: link-checker updates <www-validator-cvs@w3.org>
Message-Id: <E1Oh1it-0005q2-BY@blinky.w3.org>
changeset:   162:2137beef7996
user:        ville
date:        Fri Mar 30 20:47:55 2007 +0000
files:       bin/checklink bin/checklink.pod
description:
Make --exclude-docs doc more accurate, mention it in "Settings used" if used.


diff -r 106486c6cbb6 -r 2137beef7996 bin/checklink
--- a/bin/checklink	Fri Mar 30 20:13:53 2007 +0000
+++ b/bin/checklink	Fri Mar 30 20:47:55 2007 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2007 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 4.50 2007-03-30 20:13:53 ville Exp $
+# $Id: checklink,v 4.51 2007-03-30 20:47:54 ville Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -128,7 +128,7 @@
   $PROGRAM     = 'W3C-checklink';
   $VERSION     = '4.3';
   $REVISION    = sprintf('version %s (c) 1999-2007 W3C', $VERSION);
-  my ($cvsver) = q$Revision: 4.50 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver) = q$Revision: 4.51 $ =~ /(\d+[\d\.]*\.\d+)/;
   $AGENT       = sprintf('%s/%s [%s] %s',
                          $PROGRAM, $VERSION, $cvsver, LWP::RobotUA->_agent());
 
@@ -538,7 +538,7 @@
                             http://www.w3.org/TR/html4/Overview.html
                             would be http://www.w3.org/TR/html4/
  --exclude-docs REGEXP      In recursive mode, do not check links in documents
-                            whose URIs match REGEXP.
+                            whose full, canonical URIs match REGEXP.
  -L, --languages LANGS      Accept-Language header to send.  The special value
                             'auto' causes autodetection from the environment.
  -q, --quiet                No output if no errors are found (implies -s).
@@ -692,6 +692,8 @@
 - Accept-Language: %s
 - Sleeping %d second%s between requests to each server
 EOF
+    printf("- Excluding links in documents whose URIs match %s\n",
+      $Opts{Exclude_Docs}) if defined($Opts{Exclude_Docs});
   }
 
   printf("\nProcessing\t%s\n\n",
diff -r 106486c6cbb6 -r 2137beef7996 bin/checklink.pod
--- a/bin/checklink.pod	Fri Mar 30 20:13:53 2007 +0000
+++ b/bin/checklink.pod	Fri Mar 30 20:47:55 2007 +0000
@@ -1,4 +1,4 @@
-$Id: checklink.pod,v 1.14 2006-06-15 17:53:14 ville Exp $
+$Id: checklink.pod,v 1.15 2007-03-30 20:47:55 ville Exp $
 
 =head1 NAME
 
@@ -70,8 +70,8 @@
 
 =item B<--exclude-docs> I<regexp>
 
-In recursive mode, do not check links in documents whose URIs match
-I<regexp>.
+In recursive mode, do not check links in documents whose full, canonical
+URIs match I<regexp>.
 
 =item B<-L, --languages> I<accept-language>
 
Received on Thursday, 5 August 2010 14:47:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:43 UTC