diff options
Diffstat (limited to 'Debian/Debhelper/Dh_Getopt.pm')
-rw-r--r-- | Debian/Debhelper/Dh_Getopt.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Getopt.pm b/Debian/Debhelper/Dh_Getopt.pm index 214fa2df..f5364870 100644 --- a/Debian/Debhelper/Dh_Getopt.pm +++ b/Debian/Debhelper/Dh_Getopt.pm @@ -157,7 +157,9 @@ sub getoptions { foreach my $opt (@test) { # Try to parse an option, and skip it # if it is not known. - if (getoptions([$opt], test => 1)) { + if (getoptions([$opt], %params, + ignore_unknown_options => 0, + test => 1)) { getoptions([$opt], %params); } } |