[Libreoffice-commits] .: Branch 'libreoffice-3-5' - desktop/scripts

Jan Holesovsky kendy at kemper.freedesktop.org
Wed Dec 14 09:21:02 PST 2011


 desktop/scripts/soffice.sh.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 67482ee4b91fd082333f2d66ced119e6b54c0ee4
Author: Michal Svec <msvec at suse.com>
Date:   Wed Dec 14 18:19:09 2011 +0100

    Fix the soffice.sh wrapper's -h / --version.

diff --git a/desktop/scripts/soffice.sh.in b/desktop/scripts/soffice.sh.in
index 86ea49f..defd7b2 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
             ;;
         *)


More information about the Libreoffice-commits mailing list