gnu-getopt

Install command:
brew install gnu-getopt

Command-line option parsing utility

https://github.com/util-linux/util-linux

License: GPL-2.0-or-later

Formula JSON API: /api/formula/gnu-getopt.json

Formula code: gnu-getopt.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 2.41

Keg-only

Analytics:

Installs (30 days)
gnu-getopt 9,721
gnu-getopt --HEAD 4
Installs on Request (30 days)
gnu-getopt 2,580
gnu-getopt --HEAD 4
Build Errors (30 days)
gnu-getopt 0
Installs (90 days)
gnu-getopt 27,561
gnu-getopt --HEAD 12
Installs on Request (90 days)
gnu-getopt 7,869
gnu-getopt --HEAD 12
Installs (365 days)
gnu-getopt 114,722
gnu-getopt --HEAD 38
Installs on Request (365 days)
gnu-getopt 28,497
gnu-getopt --HEAD 38
Fork me on GitHub