From f98980975e8f67b85c7b2008d16dca579e5b36a9 Mon Sep 17 00:00:00 2001 From: Emmanuel Bourg Date: Fri, 25 Sep 2015 16:27:09 +0200 Subject: Removed the not implemented --test option from update-java-alternatives --- scripts/update-java-alternatives | 5 +---- scripts/update-java-alternatives.8 | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'scripts') diff --git a/scripts/update-java-alternatives b/scripts/update-java-alternatives index 5e31a68..6dbc92b 100755 --- a/scripts/update-java-alternatives +++ b/scripts/update-java-alternatives @@ -8,7 +8,7 @@ usage() { rv=$1 cat >&2 <<-EOF - usage: $prog [--jre-headless] [--jre] [--plugin] [ -t|--test|-v|--verbose] + usage: $prog [--jre-headless] [--jre] [--plugin] [-v|--verbose] -l|--list [] -s|--set -a|--auto @@ -46,9 +46,6 @@ while [ "$#" -gt 0 ]; do [ "$#" -gt 0 ] || usage 1 jname=$1 ;; - -t|--test) - dryrun=yes - uaopts="$uaopts --test";; -v|--verbose) verbose=yes uaopts="${uaopts/--quiet/}";; diff --git a/scripts/update-java-alternatives.8 b/scripts/update-java-alternatives.8 index 07c4bcf..87a2a69 100644 --- a/scripts/update-java-alternatives.8 +++ b/scripts/update-java-alternatives.8 @@ -2,7 +2,7 @@ .SH NAME update-java-alternatives \- update alternatives for jre/sdk installations .SH SYNOPSIS -.B update-java-alternatives [--jre] [--plugin] [-t|--test|-v|--verbose] +.B update-java-alternatives [--jre] [--plugin] [-v|--verbose] \-l|--list [] \-s|--set \-a|--auto @@ -38,10 +38,6 @@ Limit the actions to alternatives providing browser plugins. \fB\-h|\-\-help\fR Display a help message. .TP -\fB\-t|\-\-test\fR -Don't actually do anything, just say what would be done. The implementation -status of this option is the same as for update-alternatives (not implemented). -.TP \fB\-v|\-\-verbose\fR Verbose output. -- cgit v1.2.3