Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More advanced flag help support #495

Open
jokesper opened this issue Oct 7, 2024 · 0 comments
Open

More advanced flag help support #495

jokesper opened this issue Oct 7, 2024 · 0 comments

Comments

@jokesper
Copy link

jokesper commented Oct 7, 2024

While looking at how other programs handle flags I found some special cases:

  1. --[no-]xxxx, which is a pair of flags to override a boolean value, with one help and different resulting values.
    listing them both would also be ok (--xxxx, --no-xxxx)
    So this is a request of having one help for multiple options.
  2. -Wxxx, which is often used to enable warnings in compilers,
    -W as a short flag is trivial, but we want to have multiple help pages per option with expanded valid values.

So I would like help pages not having to be in a 1:1 relation with options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant