Based on a simple specification file clig generates 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
void usage(void)
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 is the automatic generation of a usage()-function which is always up-to- date with respect to the options actually understood by the program. Additionally, clig creates a manual page.
Homepage: http://wsd.iitb.fhg.de/~geg/clighome/
|
|
|
| Architecture | Package Size | Installed Size | Files |
|---|---|---|---|
| all | 71.7 kB | 460 kB | [list of files] |