[upforgrabs] Integrate Igor Lesik's getoptEx?

Jens Mueller jens.k.mueller at gmx.de
Wed Jun 15 09:43:32 PDT 2011


Andrei Alexandrescu wrote:
> Upon contacting him, Igor was kind enough to share the source of his
> getoptEx module here:
> http://d.puremagic.com/issues/show_bug.cgi?id=3780
> 
> It's a simple improvement to getopt that adds a descriptive help
> string for the program, and for each option adds one or more help
> lines.
> 
> Could someone work his code into an addition to std.getopt? I'm
> thinking of keeping the same name and using overloading. Please
> reply to this if you plan to work on this.
> 
> 
> Thanks,

I have already done this. Some time ago. I can create a pull request for
his work.
But I didn't like it much (too limited). That's why I wanted to extend
it. But never found the time. getoptEx goes in the direction of
something like gflags but it's still far away from it.

Jens


More information about the Digitalmars-d mailing list