digitalmars.D.bugs - [Issue 16048] New: std.getopt: duplicated (short) options are not
- via Digitalmars-d-bugs (20/20) May 19 2016 https://issues.dlang.org/show_bug.cgi?id=16048
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 puremagic.com Reporter: andrej.mitrovich 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. --
May 19 2016