diff options
author | Michael Koch <konqueror@gmx.de> | 2008-04-02 18:39:15 +0000 |
---|---|---|
committer | Michael Koch <konqueror@gmx.de> | 2008-04-02 18:39:15 +0000 |
commit | 95767a557e48ae0c9a61c4a109ba312eb0f00478 (patch) | |
tree | 12e43ba3a008f24cccdc03d85f22be0bf327910b /scripts | |
parent | 88d62148c6bc5c11857eff6c40f752077c055df7 (diff) | |
download | java-common-95767a557e48ae0c9a61c4a109ba312eb0f00478.tar.gz |
* Fix issues in scripts/update-java-alternatives.8
* Converted debian/java-common.doc-base.faq to utf-8 encoding.
* Fix bug in scripts/update-java-alternatives when usage is shown.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-java-alternatives | 4 | ||||
-rw-r--r-- | scripts/update-java-alternatives.8 | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/scripts/update-java-alternatives b/scripts/update-java-alternatives index 71bc479..bffaa70 100755 --- a/scripts/update-java-alternatives +++ b/scripts/update-java-alternatives @@ -63,8 +63,8 @@ while [ "$#" -gt 0 ]; do shift done -#[ "$#" -eq 0 ] || usage 1 -#[ -n "$action" ] || usage 1 +[ "$#" -eq 0 ] || usage 1 +[ -n "$action" ] || usage 1 which='^(hl|jre|jdk|plugin|DUMMY) ' if [ -n "$hlonly$jreonly$pluginonly" ]; then diff --git a/scripts/update-java-alternatives.8 b/scripts/update-java-alternatives.8 index ebac2ea..07c4bcf 100644 --- a/scripts/update-java-alternatives.8 +++ b/scripts/update-java-alternatives.8 @@ -3,10 +3,10 @@ update-java-alternatives \- update alternatives for jre/sdk installations .SH SYNOPSIS .B update-java-alternatives [--jre] [--plugin] [-t|--test|-v|--verbose] - -l|--list [<jname>] - -s|--set <jname> - -a|--auto - -h|-?|--help + \-l|--list [<jname>] + \-s|--set <jname> + \-a|--auto + \-h|\-?|--help .SH DESCRIPTION update-java-alternatives updates all alternatives belonging to one runtime or development kit for the Java language. A package does provide these |