GetOpts -- A getopt() replacement for C/C++/ObjC


Home
Projects:

A simple to use command line parser for C/C++/ObjC/Java. The way it's setup is that it even has built-in help. Download the file and read the README for more information.

Download

* Latest Version (getopts-0.4.1.tar.gz)
* getopts-0.4.0.tar.gz
* getopts-0.3.0.tar.gz
* getopts-0.2.0.tar.gz
* getopts-0.1.2.tar.gz
* getopts-0.1.1.tar.gz
* getopts-0.1.0.tar.gz

History

* 20050623 - Version 0.4.1 released to the public
* 20040417 - Minor code cleanup.
* 20040416 - Added a case statement (getopts() return -1) for recognizing unknown options.
* 20040412 - Added 'extern "C"' to getopts.h file as per Michael Brown, so that it works better with C++.
* 20020822 - Version 0.3.0 released to the public
* 20020822 - Created getopts_usage() function at request of Tim Tassonis
* 20020822 - Tim Tassonis reports a seg fault issue (Thanks again Tim!)
* 20020719 - Version 0.2.0 released to the public.
* 20020719 - Fixed static arugment issue. Fixed memory leak. Cleaned up code.
* 20020719 - Tim Tassonis reports issue with static argument lenghts for options. (Thanks Tim!)
* 20020210 - Version 0.1.2 released to the public.
* 20011218 - Dirk Eddelbuettel reports a bug in using '-' in the arguments of the options. (Thanks Dirk!)
* 20010611 - Thomas Hammer reports that it works on Windows (Thanks Thomas!)
* 20010115 - Version 0.1.1 released to the public.
* 20010115 - Updated README to include a bit more useful information.
* 20010114 - Version 0.1.0 released to the public.
* 20010111 - Decided I needed a getopt() replacement.


C++ Version of GetOpts

OO Command Line Parser (getopts++) now complete! Basically the same thing as getopts, but written in C++ using OO methods.

Download

* Latest Version (getopts++-0.2.0.tar.gz)
* getopts++-0.1.0.tar.gz

History

* 20040315 - Version 0.2.0 released to public.
* 20040315 - Made getopts++ GCC3 friendly.
* 20040315 - Jason Li reports does not compile under gcc3 (Thanks Jason!)
* 20010610 - Version 0.1.0 released to public.


Java Version of GetOpts

OO Command Line Parser (GetOpts.java) now complete! Basically the same thing as getopts, but written in Java.

Download

* Latest Version (GetOpts.java-0.1.0.tar.gz)

History

* 20040914 - Version 0.1.0 released to public.




Last modified: Last updated: Thu Jun 23 08:03:08 CDT 2005