Explorar el Código

scripts: Handle argument parsing consistently when using Getopt::Long

Guillem Jover hace 14 años
padre
commit
bedb947092
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      scripts/changelog/debian.pl
  2. 1 1
      scripts/dpkg-mergechangelogs.pl

+ 1 - 1
scripts/changelog/debian.pl

@@ -21,7 +21,7 @@
 use strict;
 use strict;
 use warnings;
 use warnings;
 
 
-use Getopt::Long qw(:config gnu_getopt auto_help);
+use Getopt::Long qw(:config posix_default bundling no_ignorecase);
 use POSIX;
 use POSIX;
 
 
 use Dpkg;
 use Dpkg;

+ 1 - 1
scripts/dpkg-mergechangelogs.pl

@@ -24,7 +24,7 @@ use Dpkg::ErrorHandling;
 use Dpkg::Gettext;
 use Dpkg::Gettext;
 use Dpkg::Version;
 use Dpkg::Version;
 
 
-use Getopt::Long;
+use Getopt::Long qw(:config posix_default bundling no_ignorecase);
 use Scalar::Util qw(blessed);
 use Scalar::Util qw(blessed);
 
 
 textdomain("dpkg-dev");
 textdomain("dpkg-dev");