[Libreoffice] [PATCH] provide the long prefix '--' for options, e.g., --help

Takeshi Abe tabe at fixedpoint.jp
Thu Dec 30 21:04:29 PST 2010


Hi,

Here is the patch for providing the long prefix "--" for soffice's
options; this solves the Easy Hack 3.7 [1].
More precisely, applying this will add the the following options
of name of two or more characters to the program:
--accept
--base
--bean
--calc
--clientdisplay
--convert-to
--display
--draw
--global
--headless
--help
--helpbase
--helpbasic
--helpcalc
--helpdraw
--helpimpress
--helpmath
--helpwriter
--impress
--infilter
--invisible
--language
--math
--minimized
--nodefault
--nofirststartwizard
--nolockcheck
--nologo
--norestore
--outdir
--plugin
--portal
--print-to-file
--printer-name
--pt
--quickstart
--server
--show
--splash-pipe
--terminate_after_init
--unaccept
--userid
--version
--view
--web
--writer

But it leaves the short syntax only for the following options:
-h
-?
-n
-o
-p
-psn
because each of name consists of one character except the last one,
which is just for a workaround on Finder of Mac OS X.
Note that all of current options has been preserved.

[1] http://wiki.documentfoundation.org/Development/Easy_Hacks#fix_--help_parameters

Cheers,
-- Takeshi Abe


More information about the LibreOffice mailing list