Re: gengetopt, anyone?

2011-10-02 Thread Bruce Korb
On 10/01/11 16:16, Reuben Thomas wrote: I notice no-one mentioned argp. (I also notice one of autoopts's testimonials says that it (autoopts) is simpler than argp!). But from a quick look argp seems rather neat; it doesn't need a separate parser and code generator, and it's available in gnulib.

Re: gengetopt, anyone?

2011-10-02 Thread Bruno Haible
Hi Reuben, I notice no-one mentioned argp. (I also notice one of autoopts's testimonials says that it (autoopts) is simpler than argp!). But from a quick look argp seems rather neat; it doesn't need a separate parser and code generator, and it's available in gnulib. Why aren't I using it?

Re: gengetopt, anyone?

2011-10-02 Thread Simon Josefsson
Reuben Thomas r...@sc3d.org writes: I notice no-one mentioned argp. (I also notice one of autoopts's testimonials says that it (autoopts) is simpler than argp!). But from a quick look argp seems rather neat; it doesn't need a separate parser and code generator, and it's available in gnulib.

Re: gengetopt, anyone?

2011-10-02 Thread Rhys Ulerich
On Sat, Oct 1, 2011 at 6:16 PM, Reuben Thomas r...@sc3d.org wrote: I notice no-one mentioned argp. (I also notice one of autoopts's testimonials says that it (autoopts) is simpler than argp!). But from a quick look argp seems rather neat; it doesn't need a separate parser and code generator,

Re: gengetopt, anyone?

2011-10-01 Thread Reuben Thomas
I notice no-one mentioned argp. (I also notice one of autoopts's testimonials says that it (autoopts) is simpler than argp!). But from a quick look argp seems rather neat; it doesn't need a separate parser and code generator, and it's available in gnulib. Why aren't I using it? --

Re: gengetopt, anyone?

2011-09-27 Thread Jim Meyering
Reuben Thomas wrote: I've just been playing with gengetopt. There's a lot to like: it gives me (potentially multi-language) options handling for one line per option (plus any extra text I want) in a simple .ggo file, and half a dozen lines of code (four of which really should be redundant as

Re: gengetopt, anyone?

2011-09-27 Thread Simon Josefsson
Reuben Thomas r...@sc3d.org writes: Has anyone else any experience with it? I have used it in libidn, gsasl and a few other projects since well over 5 years. I have been quite happy with it. The biggest concern I have had is that the auto-generated --help screen is impossible to fine-tune and

Re: gengetopt, anyone?

2011-09-27 Thread Reuben Thomas
On 27 September 2011 14:49, Simon Josefsson si...@josefsson.org wrote: The biggest concern I have had is that the auto-generated --help screen is impossible to fine-tune and it doesn't look as good as I want it to. Most of the bugs I have filed and offered to fix are precisely to do with

Re: gengetopt, anyone?

2011-09-27 Thread Bruce Korb
On 09/27/11 06:49, Simon Josefsson wrote: Reuben Thomasr...@sc3d.org writes: Has anyone else any experience with it? I have used it in libidn, gsasl and a few other projects since well over 5 years. I have been quite happy with it. The biggest concern I have had is that the auto-generated