Free Software Foundation!

Join now

Opag

From Free Software Directory
 
Jump to: navigation,
[edit]

Opag

http://www.zero-based.org/software/opag/
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.




Licensing

LicenseVerified byVerified onNotes
GPLv2orlaterJanet Casey17 February 2004



Leaders and contributors

Contact(s)Role
Martin Dickopp Maintainer


Resources and communication

Audience Resource type URI
Bug Tracking,Developer,Support E-mail mailto:martin-opag@zero-based.org


Software prerequisites

This entry (in part or in whole) was last reviewed on 11 May 2005.



Entry

















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 or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.


Personal tools
Namespaces

Variants
Actions
Navigation
Contribute