Gopt is a free, open-source ANSI C library, for parsing command line arguments and options according to GNU standards.
Gopt was written by Tom Vajzovic, and is a free-standing alternative to
Argp or
getopt. It is written to minimise and simplify the code required within
a program's main() function dealing with the command line.
Gopt is copyright 2003 and 2004 Tom Vajzovic. The Gopt manual describes the license details.
To use Gopt you need gopt.c and gopt.h. Also available, online or to download, is the complete Gopt manual (html) or Gopt manual (plain text), and a Gopt working example program.
The latest versions of these files are available online at http://gopt.sourceforge.net/, thanks to
.
Gopt used to be distributed from http://www.ug-home.nottingham.ac.uk/~ppywtcv/gopt/, which is now 404. Please update your links and bookmarks. If any Open Directory editors read this, could you please update the listing in /Computers/Programming/Languages/C/Libraries/.