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

Current versions:

stable 2.41.2

Keg-only

Analytics:

Installs (30 days)
gnu-getopt 3,703
gnu-getopt --HEAD 2
Installs on Request (30 days)
gnu-getopt 1,361
gnu-getopt --HEAD 2
Build Errors (30 days)
gnu-getopt 2
Installs (90 days)
gnu-getopt 15,585
gnu-getopt --HEAD 5
Installs on Request (90 days)
gnu-getopt 6,325
gnu-getopt --HEAD 5
Installs (365 days)
gnu-getopt 82,322
gnu-getopt --HEAD 34
Installs on Request (365 days)
gnu-getopt 23,973
gnu-getopt --HEAD 34