2009/4/18 Russel Winder <[email protected]>

> On Sat, 2009-04-18 at 10:48 +0200, Tom Eyckmans wrote:
> [ . . . ]
> >
> > I think as time will pass this will become a more frequent issue, I
> > think the only way around it is not limiting ourselves to one
> > character options and use -ts (tasks) -ds (depencies) -ps
> > (properties).
>
> I am used to Unix where - introduces single character options or a
> sequence of single character options and long forms are introduced with
> --.  I think this is a good idiom, and it irritates me that so many
> Java-related tools (e.g. javac, java, ant :-) insist on not using this
> excellent idiom.
>
> The problem is that:
>
>        -ts
>
> is likely to be read as equivalent to:
>
>        -t -s
>
> which in a properly structured option system it would be!


so stick with the long options and don't provide a short one because the
short ones (single character) are already in use? and because double
character options would cause confusion when grouping options?

>
>
> --
> Russel.
> ============================================================
> Dr Russel Winder                 Partner
>
> Concertant LLP          t: +44 20 7585 2200, +44 20 7193 9203
> 41 Buckmaster Road,     f: +44 8700 516 084    voip:
> sip:[email protected] <sip%[email protected]>
> London SW11 1EN, UK.    m: +44 7770 465 077    xmpp: [email protected]
>

Reply via email to