Thread overview
[Issue 13764] std.getopt: throw an UnknownOptionException rather than Exception
Jan 03, 2015
Robert Schadek
Jan 04, 2015
Robert Schadek
Jan 31, 2016
John Colvin
Dec 17, 2022
Iain Buclaw
November 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13764

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx

--
November 25, 2014
https://issues.dlang.org/show_bug.cgi?id=13764

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

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

--- Comment #1 from Danny Milosavljevic <danny.milo@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.

--
November 25, 2014
https://issues.dlang.org/show_bug.cgi?id=13764

hsteoh@quickfur.ath.cx changed:

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

--- Comment #2 from hsteoh@quickfur.ath.cx ---
I think this is a worthwhile enhancement request. Reopening.

--
November 25, 2014
https://issues.dlang.org/show_bug.cgi?id=13764

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|trivial                     |enhancement

--
January 03, 2015
https://issues.dlang.org/show_bug.cgi?id=13764

Robert Schadek <rburners@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rburners@gmail.com

--- Comment #3 from Robert Schadek <rburners@gmail.com> ---
I will make that PR

--
January 04, 2015
https://issues.dlang.org/show_bug.cgi?id=13764

--- Comment #4 from Robert Schadek <rburners@gmail.com> ---
this is fixed

--
January 31, 2016
https://issues.dlang.org/show_bug.cgi?id=13764

John Colvin <john.loughran.colvin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.loughran.colvin@gmail.
                   |                            |com

--- Comment #5 from John Colvin <john.loughran.colvin@gmail.com> ---
Not quite, there is still a raw enforce in handleOption (https://github.com/D-Programming-Language/phobos/blob/master/std/getopt.d#L703)

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=13764

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--