+2008-01-18 Guillem Jover <guillem@debian.org>
+
+ * scripts/update-alternatives.pl: Stop parsing '--test' as a valid
+ option.
+ ($testmode): Remove variable.
+ (usage): Remove '--test' option help.
+ * man/update-alternatives.8: Remove '--test' documentation.
+
2008-01-18 Guillem Jover <guillem@debian.org>
* utils/start-stop-daemon.c (do_help): Add missing semicolon.
* Check current uid and gid in start-stop-daemon before calling setuid,
setgid and initgroups. Closes: #222524
Based on a patch by Samuel Thibault.
+ * Remove unimplemented --test option from update-alternatives.
+ Closes: #392432, #461247
[ Frank Lichtenheld ]
* Make the -L option of dpkg-parsechangelog actually work (it's
.B \-\-quiet
Don't generate any comments unless errors occur.
This option is not yet implemented.
-.TP
-.B \-\-test
-Don't actually do anything, just say what would be done.
-This option is not yet implemented.
.
.SH FILES
.TP
# FIXME: this should not override the previous assignment.
$admindir = $admindir . '/alternatives';
-my $testmode = 0;
my $verbosemode = 0;
my $action = ''; # Action to perform (display / install / remove / display / auto / config)
Options:
--altdir <directory> change the alternatives directory.
--admindir <directory> change the administrative directory.
- --test don't do anything, just demonstrate.
--verbose verbose operation, more output.
--quiet quiet operation, minimal output.
--help show this help message.
&usage; exit(0);
} elsif (m/^--version$/) {
&version; exit(0);
- } elsif (m/^--test$/) {
- $testmode= 1;
} elsif (m/^--verbose$/) {
$verbosemode= +1;
} elsif (m/^--quiet$/) {