gengetopt

Install command:
brew install gengetopt

Generate C code to parse command-line arguments via getopt_long

https://www.gnu.org/software/gengetopt/

Formula JSON API: /api/formula/gengetopt.json

Formula code: gengetopt.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
ventura
monterey
big sur
Intel sonoma
ventura
monterey
big sur
catalina
mojave
high sierra
sierra
64-bit linux

Current versions:

stable 2.23

Depends on when building from source:

texinfo 7.1 Official documentation format of the GNU project

Analytics:

Installs (30 days)
gengetopt 45
Installs on Request (30 days)
gengetopt 37
Build Errors (30 days)
gengetopt 0
Installs (90 days)
gengetopt 128
gengetopt --HEAD 1
Installs on Request (90 days)
gengetopt 116
gengetopt --HEAD 1
Installs (365 days)
gengetopt 568
gengetopt --HEAD 1
Installs on Request (365 days)
gengetopt 523
gengetopt --HEAD 1
Fork me on GitHub