getopt that automatically prints usage
Igor Lesik
curoles at yahoo.com
Sun Feb 7 16:41:23 PST 2010
I like how boost program_options library allows to keep together options and
the help strings and automatically generate help message. So I did something
similar by writing a wrapper around std.getopt.getopt that automatically
generates help/usage message; just would like to share it; may be something
like that could be added into std.getopt in future.
here is an example and code: http://www.curoles.com/j/getoptex.html
More information about the Digitalmars-d-announce
mailing list