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 uses 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.
License: GNU General Public License v3
Changes:
A C language version has been added. Options requiring an argument no longer accept an empty argument.
More...