Projects / Arg_parser


Arg_parser is an argument parser that follows POSIX and GNU conventions for command line arguments. There exist C++ and C versions of Arg_parser. The C++ version is implemented as a C++ class, while the C version is implemented as a single struct plus associated functions. Both are simpler, easier to use, and safer than 'getopt_long'. The C++ version of Arg_parser can also parse options from configuration files.

Operating Systems

Recent releases

  •  28 May 2014 15:36

    Release Notes: The configure script now accepts options with a separate argument. "arg_parser.texinfo" has been renamed to "arg_parser.texi".

    •  24 Feb 2013 15:51

      Release Notes: Minor fixes.

      •  19 Mar 2012 20:05

        Release Notes: Minor fixes. Quote characters in messages have been changed as advised by GNU Coding Standards. The configure option "--datadir" has been renamed to "--datarootdir" to follow GNU standards.

        •  02 Jan 2012 15:32

          Release Notes: Minor fixes.

          •  16 Jan 2011 17:49

            Release Notes: Minor fixes. C99 style comments "//" have been converted to C89 style comments "/* */" in the C version. A test suite has been added.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.