[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:13:40 PDT 2016


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

--- Comment #4 from b2.temp at gmx.com ---
(In reply to b2.temp from comment #3)
> Actually even if the option validator is commented, the following test is
> not compiled

somment line 626:

static assert(validationMessage == "", validationMessage); 

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

--


More information about the Digitalmars-d-bugs mailing list