digitalmars.D.bugs - [Issue 15220] New: [REG2.065] std.getopt parses -o=value as "=value"
- via Digitalmars-d-bugs (26/26) Oct 17 2015 https://issues.dlang.org/show_bug.cgi?id=15220
https://issues.dlang.org/show_bug.cgi?id=15220 Issue ID: 15220 Summary: [REG2.065] std.getopt parses -o=value as "=value" Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P3 Component: phobos Assignee: nobody puremagic.com Reporter: thecybershadow gmail.com ///////////////// test.d ///////////////// import std.getopt; void main() { string[] args = ["program", "-o=str"]; string o; getopt(args, "o", &o); assert(o == "str"); } ////////////////////////////////////////// Introduced in https://github.com/D-Programming-Language/phobos/pull/1779 This broke invoking catdoc.d from dlang.org's win32.mak. --
Oct 17 2015