popt 1.14 (Default branch)

Popt is a C library for parsing command line parameters. Popt was heavily influenced by the getopt() and getopt_long() functions, but it improves on them by allowing more powerful argument expansion. Popt can parse arbitrary argv[] style arrays and automatically set variables based on command line arguments. Popt allows command line arguments to be aliased via configuration files and includes utility functions for parsing arbitrary strings into argv[] arrays using shell-like rules. License: MIT/X Consortium License Changes:
This release adds POPT_ARG_ARGV to accumulate multiple occurrences of an option string argument into an argv array, and POPT_ARG_LONGLONG to save 64-bit integer option arguments.

More...