[Issue 13764] std.getopt: throw an UnknownOptionException rather than Exception

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Nov 25 03:17:37 PST 2014


https://issues.dlang.org/show_bug.cgi?id=13764

Danny Milosavljevic <danny.milo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Danny Milosavljevic <danny.milo at gmail.com> ---
It's already fixed in git phobos master, there's a GetOptException now. Still
have to do string comparison to find out what happened (required option missing
vs. unrecognized option). Oh well.

--


More information about the Digitalmars-d-bugs mailing list