summaryrefslogtreecommitdiff
path: root/desktop/scripts
diff options
context:
space:
mode:
authorMichal Svec <msvec@suse.com>2011-12-14 18:19:09 +0100
committerJan Holesovsky <kendy@suse.cz>2011-12-14 18:19:47 +0100
commita0999b7cd47a9faa1ed7aeef29510674e924f702 (patch)
treed2739f0a6860fcd163e1d466cdb82d533b668187 /desktop/scripts
parent6c39bcd971a9a4a8b1b5ff7294821182624f2f57 (diff)
Fix the soffice.sh wrapper's -h / --version.
Diffstat (limited to 'desktop/scripts')
-rwxr-xr-xdesktop/scripts/soffice.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/scripts/soffice.sh.in b/desktop/scripts/soffice.sh.in
index 86ea49f02516..defd7b23ed6a 100755
--- a/desktop/scripts/soffice.sh.in
+++ b/desktop/scripts/soffice.sh.in
@@ -161,11 +161,11 @@ fi
if test "$#" -eq 1; then
case "$1" in
-h | --h | --he | --hel | --help)
- "$sd_prog/soffice.bin" -h
+ "$sd_prog/soffice.bin" --help
exit 0
;;
-V | --v | --ve | --ver | --vers | --versi | --versio | --version)
- "$sd_prog/soffice.bin" -h | head -1
+ "$sd_prog/soffice.bin" --version
exit 0
;;
*)