summaryrefslogtreecommitdiff
path: root/desktop/scripts/soffice.sh
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2010-12-17 12:37:59 +0900
committerKohei Yoshida <kyoshida@novell.com>2010-12-17 23:02:06 -0500
commit294e71bbd7927b972a3527364d6111fb0ff456fd (patch)
treeeef339396b7992a8e77ff494328765e652e8d954 /desktop/scripts/soffice.sh
parent3dc8798ad0e8ea3dac71948130beee6bf9f0df9d (diff)
EasyHack: soffice accepts -help/-h/-? in presence of the unix quickstart
Diffstat (limited to 'desktop/scripts/soffice.sh')
-rw-r--r--desktop/scripts/soffice.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index b501405f82a8..06890c654772 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,