瀏覽代碼

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

Guillem Jover 14 年之前
父節點
當前提交
bedb947092
共有 2 個文件被更改,包括 2 次插入2 次删除
  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 warnings;
 
-use Getopt::Long qw(:config gnu_getopt auto_help);
+use Getopt::Long qw(:config posix_default bundling no_ignorecase);
 use POSIX;
 
 use Dpkg;

+ 1 - 1
scripts/dpkg-mergechangelogs.pl

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