Opag (Option Parser Generator) generates C or C++ code that parses command line options. Input is a description of the command line options you want your program to support. Output is a C or C++ function which finds these options in an array of strings (typically "argv", the second parameter of the "main" function) and sets variables accordingly. The package supports both short (single character) and long (GNU style) options. Users can also associate a help string with each option. Opag uses these to create a macro which expands to a string containing a nicely formatted description of the options.
released on 8 May 2005
|License||Verified by||Verified on||Notes|
|GPLv2orlater||Janet Casey||17 February 2004|
Leaders and contributors
Resources and communication
This entry (in part or in whole) was last reviewed on 11 May 2005.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.