You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
722 B
25 lines
722 B
diff --git a/desktop/scripts/soffice.sh.in b/desktop/scripts/soffice.sh.in
|
|
index 4d14051..2d42613 100755
|
|
--- a/desktop/scripts/soffice.sh.in
|
|
+++ b/desktop/scripts/soffice.sh.in
|
|
@@ -158,8 +158,8 @@ if [ -n "$VALGRINDCHECK" -a -z "$VALGRIND" ] ; then
|
|
fi
|
|
|
|
# do not pass the request for command line help to oosplash
|
|
-if test "$#" -eq 1; then
|
|
- case "$1" in
|
|
+for arg in $@ ; do
|
|
+ case "$arg" in
|
|
-h | --h | --he | --hel | --help)
|
|
"$sd_prog/soffice.bin" --help
|
|
exit 0
|
|
@@ -171,7 +171,7 @@ if test "$#" -eq 1; then
|
|
*)
|
|
;;
|
|
esac
|
|
-fi
|
|
+done
|
|
|
|
# oosplash does the rest: forcing pages in, javaldx etc. are
|
|
exec $VALGRINDCHECK $STRACECHECK "$sd_prog/oosplash" "$@"
|