diff options
author | Joey Hess <joey@kitenet.net> | 2014-02-04 13:14:58 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-02-04 13:14:58 -0400 |
commit | c7b1d28e1157c2f14bb3550c41e37bc37a32b70e (patch) | |
tree | 3dc02edc2c8ab47cf8c4a717f54324488fab36e6 /dh | |
parent | b4ad930ad2d7f9d94e9cc3395e6f000c4094886e (diff) | |
download | debhelper-c7b1d28e1157c2f14bb3550c41e37bc37a32b70e.tar.gz |
dh: Reject unknown parameters that are not dashed command-line parameters intended to be passed on to debhelper commands. Closes: #737635
Note that dh build -n foo bar will pass -nfoobar to the debhelper command.
I did not try to change that, as it would add significant complication.
Diffstat (limited to 'dh')
-rwxr-xr-x | dh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -587,6 +587,9 @@ while (@ARGV_orig) { $options[$#options].=$opt; } } + else { + error "Unknown parameter: $opt"; + } } # Figure out at what point in the sequence to start for each package. |