https://issues.dlang.org/show_bug.cgi?id=17327
Issue ID: 17327
Summary: std.getopt: repeated options unrecognised
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
getopt reports that a valid option is unrecognised if it is used multiple
times. e.g.
getopt(args, "dry-run|n", &dryrun);
An exception is throw for both "prog -n -n" and "prog --dry-run -n".
--
