Argtable is an ANSI C library for parsing GNU style command line arguments, as in "foo -abc -o myfile --help --count=7". It enables a program's command line syntax to be defined in the source code as an array of argtable structs. The command line is then parsed according to that specification, and the resulting values are returned in those same structs where they are accessible to the main program. The default parsing, validation, and error reporting routines may be replaced by user-defined callbacks if desired, and new argtable data types may be created to parse user-defined argument types. The parsing itself is done using GNU getopt and so is 100% GNU compatible.
|Tags||Software Development Libraries|
Release Notes: This version fixes a minor makefile bug relating to the "make dist" command. There are no changes to the code base.
Release Notes: This release adds some additional foolproofing in the arg_xxx() constructor functions and includes some very minor code tweaks.
Release Notes: This release adds some additional foolproofing in the arg_xxxn() constructor functions. It also fixes a bug in arg_parsearg() that is specific to TI DSP platforms, and a bug in the arg_dbl() constructor that is specific to Solaris platforms.
Release Notes: This release reinstates the Windows makefiles that were accidentally omitted from the previous release. There are no changes to the code base.
Release Notes: This release includes new functionality for parsing command line options having optional values (--foo=[bar]). Stricter GNU-style formatting of the on-line help is done. It also includes bugfixes and additional documentation and example code. By far, the greatest change has been porting all of the makefiles over to automake. It is expected this will make the argtable source package even more portable than before.