argp-standalone

Standalone GLIBC argument parsing library for systems without it

brewmacoslinux
Try with needOr install directly
Source

About

Standalone version of arguments parsing functions from GLIBC

Commands

argp-standalone

Examples

Link argp-standalone when compiling programs that need argument parsing$ gcc myprogram.c -o myprogram -largp
Use in configure scripts for portable argument parsing across systems$ ./configure --with-argp=/usr/local/opt/argp-standalone
Include argp.h header in C programs to use GLIBC-style argument parsing$ gcc -I/usr/local/opt/argp-standalone/include myprogram.c -L/usr/local/opt/argp-standalone/lib -largp -o myprogram