std.getopt

Jens Mueller jens.k.mueller at gmx.de
Sun Jul 17 06:51:08 PDT 2011


Jacob Carlborg wrote:
> On 2011-07-17 12:02, Mike Wey wrote:
> >I think you generally want long arguments like "timeout" to start with
> >"--" and the one character ones like "t" to start with "-".
> >
> >Also with "--timeout5" the 5 might be seen as part of the flag and
> >shouldn't be allowed.
> 
> Don't know why anyone would want to be able to the option and then
> the argument without a space.

Yeah. It's only useful for short options.

Jens


More information about the Digitalmars-d mailing list