Top > Software development > Programs for small specific development tasks > Opag

Opag - Generates code that parses command line options

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.

Obtaining

Web pagehttp://www.zero-based.org/software/opag/
Source tarballhttp://www.zero-based.org/software/opag/opag-0.6.2.tar.gz
Version 0.6.2 (beta) released on 2004-05-20
Licensed under The GNU General Public License, Version 2 or later.
This is not a GNU package.

Support contacts

Help List<martin-opag@zero-based.org>
Developer List<martin-opag@zero-based.org>
Bug List<martin-opag@zero-based.org>

Project contacts

Maintainers
Developers

Related information

Interfacescommand line
Source languagesC

Entry information

License verified byJanet Casey <jcasey@gnu.org> on 2004-02-17
Entry compiled byJanet Casey <jcasey@gnu.org>

Categories



The copyright licensing notice below applies to this text. The software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.

Copyright © 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of this license is included in the file COPYING.DOC.

Please report any problems in this page to bug-directory@gnu.org, or find out how you can help fix them.

The FSF provides this directory as a service to the free software community. Please consider donating to the FSF to help support this project.