]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_clean
Move many command-specific options to only be accepted by the command that uses them.
[debhelper.git] / dh_clean
index 5fd7f936cb5779c4db8152179acac82ae8295936..47019fcdf31b1c1049cd38e17193beded8008ba7 100755 (executable)
--- a/dh_clean
+++ b/dh_clean
@@ -57,7 +57,9 @@ Delete these files too.
 
 =cut
 
-init();
+init(options => {
+       "dirs-only" => \$dh{D_FLAG},
+});
 inhibit_log();
 
 if ($dh{K_FLAG}) {