path: root/debhelper.pod
diff options
authorJoey Hess <>2010-01-04 18:41:51 -0500
committerJoey Hess <>2010-01-04 19:00:49 -0500
commit02bf22b2c4c695fd959f11c0d6a803795e014c2e (patch)
tree826d990cda08018db2c6cab9f62bc51b520a1952 /debhelper.pod
parent09d21e9f004aabe6a409c981c8d11e7cb4c2051f (diff)
solve the dh -Bbuild problem
* Add -O option, which can be used to pass options to commands, ignoring options that they do not support. * dh: Use -O to pass user-specified options to the commands it runs. This solves the problem with passing "-Bbuild" to dh, where commands that do not support -B would see a bogus -u option. Closes: #541773 (It also ensures that the commands dh prints out can really be run.)
Diffstat (limited to 'debhelper.pod')
1 files changed, 7 insertions, 0 deletions
diff --git a/debhelper.pod b/debhelper.pod
index a4765ba..03d0f90 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -156,6 +156,13 @@ This little-used option changes the package which debhelper considers the
one for which debian/foo files can be used instead of the usual
debian/ files.
+=item B<-O=>I<option|bundle>
+This is used by L<dh(1)> when passing user-specified options to all the
+commands it runs. If the command supports the specified option or option
+bundle, it will take effect. If the command does not support the option (or
+any part of an option bundle), it will be ignored.