https://issues.dlang.org/show_bug.cgi?id=16684
--- Comment #5 from Vladimir Panteleev <dlang-bugzi...@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. --