crash on args.getopt

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 24 13:24:10 PST 2015


On Sat, 24 Jan 2015 19:55:10 +0000, Suliman wrote:

>> Look for "Passing unrecognized options through" in the documentation.
> Oh I see, but first part of question is still actual.
> 
> And also what is benefits of using getopt instead of parsing args[]
> manually?

well... you can skip writing custom parser and use `getopt` instead. the 
documentation has alot of examples of what `getopt` can do for you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150124/0ded2e0a/attachment.sig>


More information about the Digitalmars-d-learn mailing list