[Issue 16048] New: std.getopt: duplicated (short) options are not detected
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu May 19 08:33:40 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16048
Issue ID: 16048
Summary: std.getopt: duplicated (short) options are not
detected
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: andrej.mitrovich at gmail.com
If you have multiple config options such as:
-----
getopt(args, "arg1|a", &arg1, "arg2|a", &arg2);
-----
Getopt won't complain about this, and will parse all 'a' options into arg1.
--
More information about the Digitalmars-d-bugs
mailing list