https://issues.dlang.org/show_bug.cgi?id=16684

--- Comment #1 from [email protected] ---
@Alexandru, I think that the best fix is to

1/ add a static assert() that prevents to specify "-h" or "--help"  (for
example there's already "optionValidator
2/ also update the documentation, saying that this switch is handled
automatically

The real problem I had before reporting was 1 hour lost trying to get why a
function pointer was never called. With a static check this will never happen
anymore to anyone.

--

Reply via email to