Aargh (Automated Argument Helper) is a code generator, written in C++ and licensed under the terms of the GNU General Public License (GPL). Using specifications defined in an XML file, it generates C++ code to parse a command line, using the getopt() facility available in UNIX and UNIX-like environments. It supports command-line options with integer arguments, string arguments, and no arguments. The generated code is commented and carefully indented for readability.
Oops, forgot the URL: