]> git.donarmstrong.com Git - debhelper.git/blobdiff - Debian/Debhelper/Dh_Lib.pm
Fix warning about unknown options passed to commands in override targets.
[debhelper.git] / Debian / Debhelper / Dh_Lib.pm
index a4e357095da2b2afe16d83df1125dd0bdc7e2b5e..f37ff5188699c09f938a8d365b4ea7f4ce5d87fa 100644 (file)
@@ -33,7 +33,7 @@ sub init {
            grep /^-/, @ARGV) {
                eval "use Debian::Debhelper::Dh_Getopt";
                error($@) if $@;
-               Debian::Debhelper::Dh_Getopt::parseopts($params{options});
+               Debian::Debhelper::Dh_Getopt::parseopts(%params);
        }
 
        # Another way to set excludes.