Recommendation on option parsing

Jesse Phillips via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 13 21:15:02 PDT 2014


On Tuesday, 13 May 2014 at 17:05:15 UTC, Chris Piker wrote:
> I tried that, but you're using private members of std.getopt
> (which of course is okay for the way you intended the code
> to be used) so I stopped pursuing this solution.

Not sure why he had you break up the file. It should be as simple 
as changing the line "module std.getopt;" to something simple 
like "module getopt" then importing "import getopt;" and include 
the new file within the build.

Anyway, D's libraries are not as extensive as Python/Ruby/Perl.


More information about the Digitalmars-d-learn mailing list