https://issues.dlang.org/show_bug.cgi?id=14525
Issue ID: 14525
Summary: Cannot access help information from getopt if a
required parameter is not given
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: Phobos
Assignee: [email protected]
Reporter: [email protected]
http://forum.dlang.org/thread/[email protected]
The problem is that getopt needs to a) throw an exception and b) return a valid
GetoptResult so that the program can print help information when the exception
is thrown. Obviously, this isn't possible, so we need to find some other
solution.
Maybe including the options array in the GetOptException?
--