[java-common] 01/03: Removed the not implemented --test option from update-java-alternatives

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Sep 25 16:13:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository java-common.

commit f98980975e8f67b85c7b2008d16dca579e5b36a9
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Sep 25 16:27:09 2015 +0200

    Removed the not implemented --test option from update-java-alternatives
---
 debian/changelog                   | 2 ++
 scripts/update-java-alternatives   | 5 +----
 scripts/update-java-alternatives.8 | 6 +-----
 3 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3583314..0ba299e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ java-common (0.54) UNRELEASED; urgency=medium
   * Removed the old dummy control files
   * Removed the README about the old default-jdk-builddep transition
   * Removed the unused Lintian overrides for java-common
+  * Removed the not implemented --test option from update-java-alternatives
+    (Closes: #800024)
 
  -- Emmanuel Bourg <ebourg at apache.org>  Tue, 22 Sep 2015 09:23:34 +0200
 
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.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/java-common.git



More information about the pkg-java-commits mailing list