summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEmmanuel Bourg <ebourg@apache.org>2015-09-25 16:27:09 +0200
committerEmmanuel Bourg <ebourg@apache.org>2015-09-25 16:28:38 +0200
commitf98980975e8f67b85c7b2008d16dca579e5b36a9 (patch)
tree7e05c033744649c7e9df9795c21f654d1dc69879 /scripts
parent93240ae73e83e57a2308400344bbabc09d385e14 (diff)
downloadjava-common-f98980975e8f67b85c7b2008d16dca579e5b36a9.tar.gz
Removed the not implemented --test option from update-java-alternatives
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-java-alternatives5
-rw-r--r--scripts/update-java-alternatives.86
2 files changed, 2 insertions, 9 deletions
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 [<jname>]
-s|--set <jname>
-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 [<jname>]
\-s|--set <jname>
\-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.