]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_strip
Move many command-specific options to only be accepted by the command that uses them.
[debhelper.git] / dh_strip
index 2796f9afb1d91645ed9e43e88ab92141cc82f06b..2c667bb74bbc9a93e6cfd03ea5ddc597b3254405 100755 (executable)
--- a/dh_strip
+++ b/dh_strip
@@ -77,7 +77,9 @@ Debian policy, version 3.0.1
 
 =cut
 
-init();
+init(options => {
+       "keep-debug" => \$dh{K_FLAG},
+});
 
 # This variable can be used to turn off stripping (see Policy).
 if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~ /nostrip/) {