digitalmars.D.bugs - [Issue 22394] New: std.getopt cannot handle "-"
- d-bugmail puremagic.com (18/18) Oct 16 2021 https://issues.dlang.org/show_bug.cgi?id=22394
https://issues.dlang.org/show_bug.cgi?id=22394 Issue ID: 22394 Summary: std.getopt cannot handle "-" Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: dlang-bugzilla thecybershadow.net "-" is commonly used to refer to standard input. This convention is followed by many tools, including GNU coreutils. std.getopt currently always throws if it sees an "-" argument, unless Config.passThrough mode is enabled. --
Oct 16 2021