diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-29 11:10:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-29 11:10:31 +0000 |
commit | 3f9f18c53d9876106b274769dec9d0e3916feb8f (patch) | |
tree | c675501e63d23d60d40c77a48277624c9530050b /desktop | |
parent | 06957447394682b35d5c861f8b81956ccf65508a (diff) |
Resolves: rhbz#788045 swriter --help etc doesn't show help
because the test in soffice to skip oosplash is for only
one argument, and swriter points to soffice with an additional
--writer argument, so the test is skipped
Diffstat (limited to 'desktop')
-rwxr-xr-x | desktop/scripts/soffice.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh index 4d140512338a..2d42613804c8 100755 --- a/desktop/scripts/soffice.sh +++ b/desktop/scripts/soffice.sh @@ -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" "$@" |