]> git.donarmstrong.com Git - debhelper.git/commitdiff
don't pass --no-act on
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 24 Apr 2008 07:57:43 +0000 (03:57 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 24 Apr 2008 07:57:43 +0000 (03:57 -0400)
Since --no-act prevents any commands actually being run, there's no point
in including it in the options. This cleans up the display slightly.

dh

diff --git a/dh b/dh
index 0af691167395f14a2bcc2075675b2f92135cb924..cf6d1d2d64fd3c941efbc7e4f3f5a276416cebdb 100755 (executable)
--- a/dh
+++ b/dh
@@ -284,7 +284,7 @@ while (@ARGV_orig) {
                shift @ARGV_orig;
                next;
        }
-       elsif ($opt =~ /^--?(remaining|(after|until|before)=)/) {
+       elsif ($opt =~ /^--?(no-act|remaining|(after|until|before)=)/) {
                next;
        }
        push @options, $opt;