path: root/dh
diff options
authorJoey Hess <>2009-06-29 16:10:48 -0400
committerJoey Hess <>2009-06-29 16:10:48 -0400
commitafabee81e04c52cae5cbf55b8ba4566659505e9b (patch)
treea79d87c2bf3c9417206a99ef299da3cf5ebf6ebe /dh
parent86e65737a05bc7dc5e911577bf96e9539ab759c2 (diff)
Make dh not complain about unknown, command-specific options passed to it
and further suppress warnings about such options it passes on to debhelper commands. This was attempted incompletely before in version 7.2.17.
Diffstat (limited to 'dh')
1 files changed, 5 insertions, 0 deletions
diff --git a/dh b/dh
index bcd5b02..4ea69b2 100755
--- a/dh
+++ b/dh
@@ -197,6 +197,11 @@ my @ARGV_orig=@ARGV;
# python-support is enabled by default, at least for now
# (and comes first so python-central loads later and can disable it).
unshift @ARGV, "--with=python-support";
+# Disable complaints about unknown options for both dh and the commands
+# it runs. This is done because dh accepts and passes on options that may
+# be specific to only some debhelper commands.
init(options => {
"until=s" => \$dh{UNTIL},