http://d.puremagic.com/issues/show_bug.cgi?id=5228
--- Comment #1 from Jonathan M Davis <jmdavisp...@gmx.com> 2010-11-16 20:55:47 PST --- I feel like a moderate idiot. I didn't realize that you could get an exception's message by accessing its public member variable msg. So, the situation is not quite as bad as I thought that it was. However, that doesn't tell you which option failed to parse correctly (unless you parse the message), which would be nice, and being able to explicitly catch GetOptException would still be a big improvement. You can, however, wrap getopt() in a try-catch block and print the exception's message to get something better than a generic error message. Regardless, I think that GetOptException would be a good addition to std.getopt. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------