Hi, The attached patch is for EasyHack 3.7 [1]. Although fixing the -help/-h/-? action in presence of the unix quickstarter, it does not support --help yet. I wonder whether soffice should accept the alternative syntax of long prefix "--" for not only 'help' but also all the rest of options or not?
[1] http://wiki.documentfoundation.org/Development/Easy_Hacks#fix_--help_parameters Cheers, -- Takeshi Abe
>From 265ae65998207935b8efaf391a7e3355b4263aad Mon Sep 17 00:00:00 2001 From: Takeshi Abe <t...@fixedpoint.jp> Date: Fri, 17 Dec 2010 12:37:59 +0900 Subject: [PATCH] EasyHack: soffice accepts -help/-h/-? in presence of the unix quickstart --- desktop/scripts/soffice.sh | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) 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, -- 1.7.2.3
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice