clig -- Command Line Interface Generator
(C) 1995,1996,1997,1998,1999 email@example.com (Harald Kirsch)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
What is clig? --- An excerpt from the manual page:
Clig uses the description in clifile to generate C-code
for a function
Cmdline *parseCmdline(int argc, char **argv)
which parses the command-line of a typical C-program and
returns the result in a structure of type Cmdline. [...]
Besides parseCmdline(), the function
is generated and will be called by the command-line
parser, if the command line contains obvious errors. One
of the main reasons to use clig are maybe the automatic
generation of a usage()-function which is always up-to-
date with respect to the options actually understood by
How to install:
After unpacking the file clig.<version>.tar.gz there is a directory
called `clig' containing this file.
--> Edit the top of `makefile' to suit your preferences. In particular
you want to edit the variables `prefix' and LROOT.
--> Run 'make install'.
Actually, there is nothing to `make', since clig does not contain
C-code to be compiled. The `makefile' was however included to
keep the similarities to other packages.
--> Compile and run the trivial example program in the directory
--> Read the manual page.
Bug reports and questions to firstname.lastname@example.org.