From fffd74afc2d0767a59c1879f3eb701fbd37fe3a4 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Wed, 20 Feb 2019 18:00:52 +0100 Subject: [PATCH] explicitly configure Getopt::Long --- mmdebstrap | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mmdebstrap b/mmdebstrap index 98bab9b..1e02b87 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -1695,7 +1695,7 @@ sub main() { customize_hook => [], }; chomp ($options->{architectures} = `dpkg --print-architecture`); - Getopt::Long::Configure ("bundling"); + Getopt::Long::Configure ('default', 'bundling', 'auto_abbrev', 'ignore_case_always'); GetOptions( 'h|help' => sub { pod2usage(-exitval => 0, -verbose => 2) }, 'components=s' => \$options->{components}, @@ -2421,6 +2421,9 @@ file. =head1 OPTIONS +Options are case insensitive. Short options may be bundled. Long options +require a double dash and may be abbreviated to uniqueness. + =over 8 =item B<-h,--help>