[Libreoffice-commits] .: desktop/scripts

Kohei Yoshida kohei at kemper.freedesktop.org
Fri Dec 17 20:47:53 PST 2010


 desktop/scripts/soffice.sh |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit 9ddee2495ea68a22ca916d682b2cdcb0c6c15f4e
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Fri Dec 17 12:37:59 2010 +0900

    EasyHack: soffice accepts -help/-h/-? in presence of the unix quickstart

diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index b45b6bc..4d3c92c 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -97,9 +97,11 @@ done
 
 # test for availability of the fast external splash
 for arg in $@; do
-    if [ "$arg" = "-nologo" -o "$arg" = "-no-oosplash" ]; then
-       no_oosplash=y
-    fi
+    case "$arg" in
+    -nologo|-no-oosplash|-help|-h|-\?)
+        no_oosplash=y
+        ;;
+    esac
 done
 
 # Setup our app as oosplash, but try to avoid executing pagein,


More information about the Libreoffice-commits mailing list