std.getopt
Jens Mueller
jens.k.mueller at gmx.de
Sat Jul 16 07:02:48 PDT 2011
Trass3r wrote:
> The following just came to my mind:
> What about having getopt also generate a "Usage" string which you
> can output if any cmdline argument parsing error occured?
> Of course this would require adding a third field containing the
> description. (which would also be self-documenting)
We have some support for this.
Maybe you can comment on my pull request because I got stuck a little
bit.
https://github.com/D-Programming-Language/phobos/pull/106
Because the extension should not break building something like gflags on
top of getopt.
Jens
More information about the Digitalmars-d
mailing list