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.42

Keg-only

Analytics:

Installs (30 days)
gnu-getopt 4,067
gnu-getopt --HEAD 5
Installs on Request (30 days)
gnu-getopt 1,808
gnu-getopt --HEAD 5
Build Errors (30 days)
gnu-getopt 1
Installs (90 days)
gnu-getopt 11,072
gnu-getopt --HEAD 6
Installs on Request (90 days)
gnu-getopt 4,518
gnu-getopt --HEAD 6
Installs (365 days)
gnu-getopt 64,772
gnu-getopt --HEAD 31
Installs on Request (365 days)
gnu-getopt 21,567
gnu-getopt --HEAD 31