[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r1215 - in trunk: debian frontend



Author: rra
Date: 2008-02-19 02:02:07 +0100 (Tue, 19 Feb 2008)
New Revision: 1215

Modified:
   trunk/debian/changelog
   trunk/frontend/lintian
Log:
  + [RA] Fix option parsing bug leading lintian to incorrectly reject -a
    without a package.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-02-19 01:00:38 UTC (rev 1214)
+++ trunk/debian/changelog	2008-02-19 01:02:07 UTC (rev 1215)
@@ -39,6 +39,8 @@
   * frontend/lintian:
     + [CW] Make the presence of an Ubuntu release name in the version number
       trigger the Ubuntu distribution field checks.
+    + [RA] Fix option parsing bug leading lintian to incorrectly reject -a
+      without a package.
 
   * lib/Spelling.pm:
     + [RA] Add another spelling correction.

Modified: trunk/frontend/lintian
===================================================================
--- trunk/frontend/lintian	2008-02-19 01:00:38 UTC (rev 1214)
+++ trunk/frontend/lintian	2008-02-19 01:02:07 UTC (rev 1215)
@@ -326,7 +326,7 @@
 $action = 'check' if not $action;
 
 # check for arguments
-if ($action =~ /^(check|unpack|remove)$/ and $#ARGV == -1) {
+if ($action =~ /^(check|unpack|remove)$/ and $#ARGV == -1 and not $check_everything) {
     syntax();
 }
 


Reply to: