--- trunk/java-update/java-update.sh 2012/02/18 19:37:02 1766 +++ trunk/java-update/java-update.in 2013/01/07 11:27:04 2018 @@ -98,19 +98,18 @@ --help|-h|-?: Prints this help. --version: Shows the version of this utility. --use-old: If an implementation is already set, use that one. - --prefix=: Set the source prefix (default: /etc) Usage: ${0##*/} --get-implementation Print the current implementaion - This utility switches between Java implementations. There ${IS_ARE} + This utility switches between Java implementations. There ${IS_ARE} $(echo ${AVAIL_IMPLEMS} | wc -w) available implementation${IMPLEM_PLURAL}: ${AVAIL_IMPLEMS} Examples: - ${0##*/} java-1.6-sun + ${0##*/} java6-sun This will setup things to use Java Version 6 from Sun. - ${0##*/} java-1.7-openjdk + ${0##*/} java7-openjdk This will setup things to use OpenJDK Version 7. FOO @@ -150,11 +149,6 @@ fi ;; - --prefix=*) - PREFIX="${opt#*=}" - AVAIL_IMPLEMS=$(get_implementations) - ;; - --help|-h|-?) ACTION="usage" ;; --version) ACTION="version" ;; *)