std.getopt suggestion

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Oct 4 12:39:22 PDT 2011


On 10/4/11 12:05 PM, Christophe wrote:
> Andrej Mitrovic , dans le message (digitalmars.D:146060), a écrit :
>> I'm don't often use getopt just for the fact that I can't use
>> single-dash arguments like '-release'. DMD uses this syntax, and so to
>> other tools. It's not a big deal thanks to D's fantastic
>> string-manipulation abilities, so I just roll my own. All I need is a
>> switch(args) statement.
>
> I don't use getopt often either. That does not prevent me to wish getopt
> could become adequate to my needs...

It already is because your needs are the empty set.

Andrei


More information about the Digitalmars-d mailing list