gengetopt

Install command:
brew install gengetopt

Generate C code to parse command-line arguments via getopt_long

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

License: GPL-3.0-or-later

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

Formula code: gengetopt.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
monterey
big sur
macOS on
Intel
sonoma
ventura
monterey
big sur
catalina
mojave
high sierra
sierra
Linux ARM64
x86_64

Current versions:

stable 2.23

Depends on when building from source:

texinfo 7.2 Official documentation format of the GNU project

Analytics:

Installs (30 days)
gengetopt 46
gengetopt --HEAD 1
Installs on Request (30 days)
gengetopt 40
gengetopt --HEAD 1
Build Errors (30 days)
gengetopt 0
Installs (90 days)
gengetopt 208
gengetopt --HEAD 1
Installs on Request (90 days)
gengetopt 190
gengetopt --HEAD 1
Installs (365 days)
gengetopt 722
gengetopt --HEAD 3
Installs on Request (365 days)
gengetopt 634
gengetopt --HEAD 3
Fork me on GitHub