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: [email protected]
Reporter: [email protected]
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.
--
