Arg_parser is an argument parser that follows POSIX and GNU conventions for command line arguments. It is implemented as a C++ class, and is simpler, easier to use, and safer than "getopt_long". Arg_parser does not modify its arguments, nor does it use any global variables. So you may create more than one parser in your program if you need or want to. Arg_parser can also parse options from configuration files. A C language version is also available.
| Tags | Software Development User Interfaces |
|---|---|
| Operating Systems | OS Independent |
| Implementation | C C++ |
Recent releases


Changes: A compilation problem producing bad code for the C language version with GCC 4.2 has been fixed. "make install-info" should now work on Debian and Mac OS X.


Changes: A C language version has been added. Options requiring an argument no longer accept an empty argument.


Changes: A C language version has been added. Options requiring an argument no longer accept an empty argument.


Changes: The license has been updated to GPL version 3 or later.


Changes: The "configure" script and the Makefile have been made more GNU-standards compliant.