From d6759d6a6c9c354abad02ddfbee6782357c8ed6b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 21 Oct 2008 14:50:27 -0400 Subject: Move many command-specific options to only be accepted by the command that uses them. Affected options are: -x, -r, -R, -l, -L, -m, --include-conffiles, --no-restart-on-upgrade, --no-start, --restart-after-upgrade, --init-script, --filename, --flavor, --autodest, --libpackage, --add-udeb, --dpkg-shlibdeps-params, --dpkg-gencontrol-params, --update-rcd-params, --major, --remove-d, --dirs-only, --keep-debug, --version-info, --list-missing, --fail-missing, --language, --until, --after, --before, --remaining, --with * If any third-party debhelper commands use any of the above options, they will be broken, and need to be changed to pass options to init(). * To avoid breaking rules files that pass options to commands that do not use them, debhelper will now only warn if it encounters an unknown option. This will be converted back to an error later. --- dh_installman | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dh_installman') diff --git a/dh_installman b/dh_installman index f0ff2245..a167cc3a 100755 --- a/dh_installman +++ b/dh_installman @@ -85,7 +85,9 @@ interface. Use this program instead. =cut -init(); +init(options => { + "language=s" => \$dh{LANGUAGE}, +}); my @sofiles; my @sodests; -- cgit v1.2.3