summaryrefslogtreecommitdiff
path: root/desktop/scripts
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
commit9ddee2495ea68a22ca916d682b2cdcb0c6c15f4e (patch)
treee3476c7cbf321967bbb02da5dced20503aadff8c /desktop/scripts
parent6ad8c0815731ba82f28d38b76c11c86561dfc5f3 (diff)
EasyHack: soffice accepts -help/-h/-? in presence of the unix quickstart
Diffstat (limited to 'desktop/scripts')
-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 b45b6bccba..4d3c92cca5 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,