https://issues.dlang.org/show_bug.cgi?id=16539
--- Comment #6 from kinke <[email protected]> --- Well I'm not too keen on fixing it myself, but I have a use case (mutually-exclusive flags pair) which should make it pretty clear that it's a serious problem: ``` void main(string[] args) { import std.getopt; import std.typecons; Nullable!bool useGui; void handleCliOrGuiMode(string option) { useGui = (option == "gui"); } getopt(args, "cli", &handleCliOrGuiMode, "gui", &handleCliOrGuiMode); import std.stdio; writeln("useGui: ", useGui); } ``` ``` $ dmd -run foo.d --gui --cli useGui: true ``` --
