[Issue 15914] [REG 2.071] getopt doesn't accept anymore a character for a bool option

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Apr 12 02:03:28 PDT 2016


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

b2.temp at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #10 from b2.temp at gmx.com ---
If you land here because you're affected by the regression a simple fix consist
into replacing the character by a string.

getOpt(args, "a", &a)

A fix is prepared for the next release.

--


More information about the Digitalmars-d-bugs mailing list