Filewatcher File Search File Search
Content Search
» » » » »


A library for parsing GNU style command line arguments

Argtable is an ANSI C library for parsing GNU style command line arguments. 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. Both tagged (-v, --verbose, --foo=bar) and untagged arguments are supported, as are multiple instances of each argument. Syntax error handling is automatic and the library also provides the means for displaying the command line syntax directly from the array of argument specifications.

argtable can function as a "getopt_long" replacement, without the user of the program noticing the difference. Unlike "getopt_long", however, argtable is cross platform, working on all Posix systems, as well as Windows and Mac.

This package contains the files needed to develop applications that use argtable.

Package version:12-1


A note on ANSI C89 versus C99 compilers.
These example programs use a style of array initialization that was
introduced in the ANSI C99 standard. Older (C89 compliant) compilers
will not compile them.
The Open Watcom compiler, for instance, is known to have this problem.

If this affects you, then an easy workaround is to initialize your
arrays according to


ARGTABLE2(3)        Argtable programmer's manual        ARGTABLE2(3)

       argtable2  -  an ANSI C library for parsing GNU style command
       line options

       #include <argtable2.h>

       struct arg_lit
       struct arg_int
       struct arg_dbl
       struct arg_str
       struct arg_rex
       struct arg_file
       struct arg_date
       struct arg_rem
       struct a


argtable2 (12-1) unstable; urgency=low

  * New upstream version
  * Upgraded the Debian policy to 
  * Change the debhelper compatibility level to V8
  * Various Lintian cleanups
  * Reduce debian/rules to rely on debhelper more (Closes: #488585)

 -- Shachar Shemesh <>  Sun, 22 Aug 2010 16:33:24 +0300

argtable2 (9-1) unstable; urgency=low

  * New upstream version.



Version 2.12, released Feb 14, 2010.
    Added support for pkg-config to the automake files.


This package was debianized by Shachar Shemesh <> on
Thu, 28 Apr 2005 14:19:16 

Browse inside libargtable2-dev_12-1_amd64.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (3)  65535+ mirrors

Download libargtable2-dev_12-1_amd64.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017