BSD Ports

devel/clig 1.9.11.1_4 DragonFly

Auto-generate an (argc, argv) processor, usage message, and manpage

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
devel, tcl
Package size
58.4 KiB, 213.3 KiB installed

Description

Clig generates C code to take apart the typical command-line arguments given to a C program. Input to clig is a simple description file that specifies the name and number of options, their type (Flag, String, Float, Int) and permissible range, and which options are mandatory. From this, clig will generate self-contained C code to include in your program, a usage message, and a manual page skeleton.

Clig does a lot more than getopt!

In the other systems

SystemPortVersion
DragonFlydevel/clig1.9.11.1_4
FreeBSDdevel/clig1.9.11.1_4
HardenedBSDdevel/clig1.9.11.1_4
GhostBSDdevel/clig1.9.11.1_4

Install

Binary package:

pkg install clig

From DPorts:

cd /usr/dports/devel/clig && make install clean

Dependencies

Run dependencies 2

No port depends on this one.