Re: Argon: an alternative parser for command-line arguments

2016-03-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2016-03-03 21:55, Markus Laker wrote: Yes. You can give an option a description, like this: // ... uint nr_doors; // ... Named("doors", nr_doors, 0) ("number of doors").AddRange(1, 4); If you do this, the user has a nice, short name to type: --doors 2 But the description will be used in

Re: Argon: an alternative parser for command-line arguments

2016-03-04 Thread Markus Laker via Digitalmars-d-announce
On Friday, 4 March 2016 at 12:21:25 UTC, Jacob Carlborg wrote: No, I mean a longer description, more like documentation. Look at the help for git when using --help, it has different behavior than -h. The first one is more like a man page. Ah, I see. Sorry for the misunderstanding. An app