www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16048] New: std.getopt: duplicated (short) options are not


          Issue ID: 16048
           Summary: std.getopt: duplicated (short) options are not
           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