Author: rra
Date: 2008-03-03 06:09:56 +0100 (Mon, 03 Mar 2008)
New Revision: 1233

Modified:
   trunk/debian/changelog
   trunk/frontend/lintian
Log:
Fix more problems with the option parsing in lintian.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-03-03 05:06:59 UTC (rev 1232)
+++ trunk/debian/changelog      2008-03-03 05:09:56 UTC (rev 1233)
@@ -63,7 +63,7 @@
     + [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.
+      or -p without a package.
 
   * lib/Spelling.pm:
     + [RA] Add another spelling correction.

Modified: trunk/frontend/lintian
===================================================================
--- trunk/frontend/lintian      2008-03-03 05:06:59 UTC (rev 1232)
+++ trunk/frontend/lintian      2008-03-03 05:09:56 UTC (rev 1233)
@@ -326,7 +326,7 @@
 $action = 'check' if not $action;
 
 # check for arguments
-if ($action =~ /^(check|unpack|remove)$/ and $#ARGV == -1 and not 
$check_everything) {
+if ($action =~ /^(check|unpack|remove)$/ and $#ARGV == -1 and not 
$check_everything and not $packages_file) {
     syntax();
 }
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to