[Libreoffice] [PATCH] EasyHack: soffice accepts -help/-h/-? in presence of the unix quickstart

Kohei Yoshida kyoshida at novell.com
Thu Dec 16 20:23:04 PST 2010


On Fri, 2010-12-17 at 12:44 +0900, Takeshi Abe wrote:
> 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?

I personally would like our startup script to support the standard '--'
type options for long names, and '-' type options for short names just
like everybody else does.  So, I support changing all the command line
options to adhere to this convention.

If we want to be cautious, we could still support the current options
with a '-' prefix in addition to the new ones, in which case we could
spit deprecation warning and suggestion to use the new option syntax in
the future when the old options are still passed.  That should give
people enough chance to re-write their scripts etc.

Kohei

-- 
Kohei Yoshida, LibreOffice hacker, Calc
<kyoshida at novell.com>



More information about the LibreOffice mailing list