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

Kohei Yoshida kyoshida at novell.com
Fri Dec 17 18:02:27 PST 2010


Hi Takeshi,

On Sat, 2010-12-18 at 01:20 +0900, Takeshi Abe wrote:
> Hi Kohei,
> 
> On Thu, 16 Dec 2010 23:23:04 -0500, Kohei Yoshida <kyoshida at novell.com> wrote:
> > On Fri, 2010-12-17 at 12:44 +0900, Takeshi Abe wrote:
> (snip)
> >> 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.
> OK, anyway except the "-help/-h/-?" group any of current options have no
> short-name variant so far as you know. So we have to decide each of them
> before adopting the above convention.

Well, we don't have to support short-hand names to begin with.  As a
starter, we can simply convert all our current options to have the '--'
prefix, without defining any short-hand counterparts.

How does that sound?

Kohei

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



More information about the LibreOffice mailing list