Recommendation on option parsing

Robert Schadek via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 14 01:02:26 PDT 2014


On 05/14/2014 06:15 AM, Jesse Phillips via Digitalmars-d-learn wrote:
> 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.
he is right, my bad
>
> Anyway, D's libraries are not as extensive as Python/Ruby/Perl.



More information about the Digitalmars-d-learn mailing list