The Lean Mean C++ Option Parser handles program arguments (argc, argv). It supports the short and long option formats of getopt(), getopt_long(), and getopt_long_only(), but has a more convenient interface. It is a freestanding, header-only library with no dependencies, not even libc or STL. It comes with a usage message formatter which supports column alignment and line wrapping, making it ideal for localized messages with different lengths.
|Tags||Library Parser command line argument parsing|
|Operating Systems||OS Independent|
Release Notes: The code is now compatible with Microsoft Visual C++.
Release Notes: This release changes Arg::Optional to accept arguments if they are attached rather than separate. This is what GNU getopt() does and how POSIX recommends utilities should interpret their arguments.
Release Notes: This version implements argument reordering as performed by GNU getopt() in its non-POSIX default mode. Argument reordering allows mixing non-option arguments with options.
Release Notes: This is the initial release.