argp-standalone
« Back to VersTracker
Description:
Standalone version of arguments parsing functions from GLIBC
Type: Formula  |  Latest Version: 1.5.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cli argument-parsing library portability gnu
Install: brew install argp-standalone
About:
argp-standalone provides the argument parsing functionality from the GNU C Library (GLIBC) as a portable, standalone library. It allows developers to build robust command-line interfaces with features like automatic help and usage message generation. This is particularly useful for projects that require GLIBC's argp capabilities but cannot depend on GLIBC itself.
Key Features:
  • Portability: Enables GLIBC's argp on non-GLIBC systems like macOS and BSD
  • Standards-compliant: Supports standard GNU argument parsing conventions
  • Feature-rich: Handles optional and required arguments, options, and automatic help generation
  • Lightweight: Minimal dependencies for integration into existing projects
Use Cases:
  • Porting Linux applications that use GLIBC's argp to macOS or other BSD systems
  • Building new command-line tools with robust, standard-compliant argument parsing
  • Maintaining software that requires consistent CLI behavior across different Unix-like platforms
Alternatives:
  • getopt – Standard POSIX utility, but less feature-rich and lacks automatic help generation
  • libclargs – Modern alternative with similar goals, but argp-standalone is a direct GLIBC port
License: LGPL-2.1-or-later AND LGPL-2.0-or-later AND LicenseRef-Homebrew-public-domain
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, sonoma, ventura, monterey
Version History
Detected Version Rev Change Commit
Sep 10, 2025 11:18pm 0 VERSION_BUMP 282df4a1