Skip to content

Conversation

@pzmarzly
Copy link
Contributor

argp has default behavior of using -?/--help for help, -V/--version for version, and --usage for short help. This is not customizable, but can be opted out of with ARGP_NO_HELP. Then you need to handle these 3 flags yourself, which this PR does.

Now -h / --help is for help, -V / --version is for version, and --usage for short help. I would love to remove --usage as well, but argp error messages say Try bfcli --help' or bfcli --usage' for more information. and this is non-customizable.

Wdyt? Is behaving like a "standard" CLI worth this extra code?

@pzmarzly pzmarzly requested a review from qdeslandes as a code owner January 24, 2026 17:53
@meta-cla meta-cla bot added the cla signed label Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant