[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 00:10:56 PDT 2016


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

b2.temp at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|getopt, the new option      |[REG 2.071] getopt doesn't
                   |validator doesn't accept a  |accept anymore a character
                   |character for a bool option |for a bool option

--- Comment #2 from b2.temp at gmx.com ---
Actually even if the option validator is commented, the following test is not
compiled


unittest
{
    bool opt;
    string args;
    getopt(args, config.passThrough 'a', &opt);
}�


so the problem comes from somewhere else.

There's nothing in the file history that explicitly remove this feature between
2.070 and 2.071.

--


More information about the Digitalmars-d-bugs mailing list