[debhelper-devel] Bug#866581: debhelper: dh should be able to optimize out helpers even when passed options

Niels Thykier niels at thykier.net
Fri Jun 30 08:23:09 UTC 2017


Package: debhelper
Version: 10.2.5
Severity: wishlist

Hi,

As it is, if you pass an "unknown" option to dh, it will run every
single helper it knows.  This is unhelpful and slow - even more so
because said option will trigger the slow path of "Getopt" parsing
making the user pay even more for simplicity.

This even holds for "-B" and other short forms of even "known"
options.

We should probably extend the PROMISE NOOP to include options as well.

Thanks,
~Niels




More information about the debhelper-devel mailing list