[PATCH] Change in core[libreoffice-3-6]: Clean up option processing

Stephan Bergmann (via Code Review) gerrit at gerrit.libreoffice.org
Wed Sep 26 04:21:19 PDT 2012


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/700

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/00/700/1

Clean up option processing

* Support --version on non-UNX, too.

* Consistently show the first unknown option and the help blob in the presence
  of any unknown options.

* There is no need to tunnel --help/--version past oosplash in the soffice
  script, as oosplash is prepared to treat them adequately (esp. not pass them
  over any pipe); this only added unnecessary variance to what spellings exactly
  are supported and how mixtures of --help, --version, and unknown options are
  handled.

(cherry picked from commit f4a4ba9ac1b58b4726825400e1edd1bf47d4080a)

Change-Id: I617f2e727e2f0eafd34a2de3b85d441c6783ec4f
---
M desktop/scripts/soffice.sh
M desktop/source/app/app.cxx
M desktop/source/app/cmdlineargs.cxx
M desktop/source/app/cmdlineargs.hxx
M desktop/source/app/cmdlinehelp.cxx
M desktop/source/app/cmdlinehelp.hxx
M desktop/source/app/officeipcthread.cxx
M desktop/source/app/sofficemain.cxx
M desktop/unx/source/args.c
M desktop/unx/source/args.h
M desktop/unx/source/start.c
M vcl/inc/vcl/svapp.hxx
12 files changed, 272 insertions(+), 260 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/700
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I617f2e727e2f0eafd34a2de3b85d441c6783ec4f
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-3-6
Gerrit-Owner: Stephan Bergmann <sbergman at redhat.com>



More information about the LibreOffice mailing list