Fixing valid options for std.getopt
Jacob Carlborg
doob at me.com
Wed Aug 10 04:14:33 PDT 2011
On 2011-08-10 09:26, Jens Mueller wrote:
> I think short options with no space are supported because a number of
> people (don't know how many) type no spaces.
> For example
> $ ping -c1<some host>
> vs
> $ ping -c 1<some host>
>
> Both work. ping's documentation explains the -c option using a space.
> I.e. the documentation is easy to read.
> Supporting it does not break anything for you. And this way it does no
> harm to anybody. The only reason for dropping it may be inconsistency,
> i.e. why does it only work for numeric values.
>
> Jens
Just saying I don't like that. I won't break anything for me but it will
let people continue to implement tools which uses this syntax.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list