summaryrefslogtreecommitdiff
path: root/lib/Debian/Debhelper/Dh_Getopt.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Debian/Debhelper/Dh_Getopt.pm')
-rw-r--r--lib/Debian/Debhelper/Dh_Getopt.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Debian/Debhelper/Dh_Getopt.pm b/lib/Debian/Debhelper/Dh_Getopt.pm
index a35d9588..591f0e22 100644
--- a/lib/Debian/Debhelper/Dh_Getopt.pm
+++ b/lib/Debian/Debhelper/Dh_Getopt.pm
@@ -95,6 +95,9 @@ sub getoptions {
Getopt::Long::config("bundling");
}
Getopt::Long::config('no_ignore_case');
+ if (! compat(12, 1)) {
+ Getopt::Long::config('no_auto_abbrev');
+ }
my @test;
my %options=(