[Issue 16684] std.getopt, problem with the automatic handling of "h"
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jul 21 02:18:43 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=16684
--- Comment #5 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to b2.temp from comment #2)
> Forgot to say that the only way to handle "h" should be the getopt results,
> e.g
I guess "helpWanted" is a way to do that, but this was still a breaking change.
Also, I don't think the check can be done at compile-time, since the argument
list to getopt consists of regular runtime arguments, so I don't think you can
get the switch string literals at compile-time (from within getopt) here.
--
More information about the Digitalmars-d-bugs
mailing list