devel/argtable 2.13p1 OpenBSD
ANSI C command line parser
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel
Description
Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss. 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.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/argtable | 2.13p1 |
| FreeBSD | devel/argtable | 2.13_3 |
| NetBSD | devel/argtable | 1.2 |
| DragonFly | devel/argtable | 2.13_3 |
| HardenedBSD | devel/argtable | 2.13_3 |
| GhostBSD | devel/argtable | 2.13_3 |
Install
Binary package:
pkg_add argtable
From the ports tree:
cd /usr/ports/devel/argtable && make install
Dependencies
No port depends on this one.