On Thu, 17 Jan 2008, Toby Speight wrote:
> Package: dpkg
> Version: 1.14.7
> Severity: important
> File: /usr/sbin/update-alternatives
> 
> /--------[ update-alternatives --help ]
> | Options:
> |   --test                   don't do anything, just demonstrate.
> \--------
> 
> But when I tried using --test to check my --remove-all command, I got
> no output, and I discovered that the remove-all had actually been
> performed.   Luckily, I had got my command right...

Confirmed:
$ grep testmode scripts/update-alternatives.pl 
my $testmode = 0;
        $testmode= 1;

So it looks like this never got implemented... this was already the case
in dpkg 1.1.4 in 1996 (this is as far as I can go in the history).

Thus I suggest to simply remove that option altogether from the script and the
manual page.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


Reply via email to