The following commit has been merged in the master branch:
commit c7d2323b66476720c0cee26905b4642593d8f008
Author: Guillem Jover <guil...@debian.org>
Date:   Sat Nov 21 04:26:11 2009 +0100

    Handle argument parsing consistently in all tools

diff --git a/debian/changelog b/debian/changelog
index abc3a20..3e28046 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,10 @@ dpkg (1.15.6) UNRELEASED; urgency=low
   [ Raphaƫl Hertzog ]
   * debian/control: add the accent on my first name
 
+  [ Guillem Jover ]
+  * Handle argument parsing in dpkg-checkbuilddeps and dpkg-scanpackages
+    in a way consistent with the rest of the tools.
+
   [ Updated man page translations ]
   * Swedish (Peter Krefting).
 
diff --git a/scripts/dpkg-checkbuilddeps.pl b/scripts/dpkg-checkbuilddeps.pl
index 1147670..8967b0a 100755
--- a/scripts/dpkg-checkbuilddeps.pl
+++ b/scripts/dpkg-checkbuilddeps.pl
@@ -20,7 +20,8 @@
 use strict;
 use warnings;
 
-use Getopt::Long;
+use Getopt::Long qw(:config posix_default bundling no_ignorecase);
+
 use Dpkg;
 use Dpkg::Gettext;
 use Dpkg::ErrorHandling;
diff --git a/scripts/dpkg-scanpackages.pl b/scripts/dpkg-scanpackages.pl
index 6200c1d..a116ec9 100755
--- a/scripts/dpkg-scanpackages.pl
+++ b/scripts/dpkg-scanpackages.pl
@@ -21,6 +21,8 @@ use strict;
 use IO::Handle;
 use IO::File;
 use IO::String;
+use Getopt::Long qw(:config posix_default bundling no_ignorecase);
+
 use Dpkg;
 use Dpkg::Gettext;
 use Dpkg::ErrorHandling;
@@ -39,8 +41,6 @@ my @spuriousover;
 my %packages;
 my %overridden;
 
-use Getopt::Long qw(:config bundling);
-
 my %options = (help            => sub { usage(); exit 0; },
               version         => \&version,
               type            => undef,

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to