rinehimer / jxtl

Automatically exported from code.google.com/p/jxtl
Apache License 2.0
0 stars 2 forks source link

Enhance APR's getopt #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
APR provides a decent API for parsing command line options.  I'd like to 
enhance it somewhat.  The two useful features found in popt that I really want 
are an automatic help/usage function and the ability to automatically assign 
arguments to variables.

It should only be a matter of the following:
1) Writing a generic usage function.
2) Creating a new struct that would add what type the argument is and a pointer 
to assign it to.

Original issue reported on code.google.com by rinehi...@gmail.com on 15 Sep 2010 at 6:25