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

Development: Pull requests

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
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 2.41.3

Keg-only

Analytics:

Installs (30 days)
gnu-getopt 4,350
gnu-getopt --HEAD 3
Installs on Request (30 days)
gnu-getopt 1,649
gnu-getopt --HEAD 3
Build Errors (30 days)
gnu-getopt 0
Installs (90 days)
gnu-getopt 13,502
gnu-getopt --HEAD 9
Installs on Request (90 days)
gnu-getopt 5,255
gnu-getopt --HEAD 9
Installs (365 days)
gnu-getopt 76,310
gnu-getopt --HEAD 35
Installs on Request (365 days)
gnu-getopt 23,215
gnu-getopt --HEAD 35