-
Notifications
You must be signed in to change notification settings - Fork 428
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
ManPageGenerator does not ignore "hidden" options #1063
Comments
NOTE: hidden subcommands are rendered as well |
@bdemers Thank you for reporting this! |
Will you be able to provide a pull request for this? |
I think I've got it, doing a bit more testing and I'll send a PR |
…tion - Adds a new `CommandLine.CommandSpec.hidden()` method to expose the `Command` annotations `hidden` value. - Bump project version to 4.4.0 as new public method is added Fixes: remkop#1063
Merged the PR. Thanks for the contribution! There may be an edge case where options in an argument group (with header) are not hidden, while all other options are hidden; would be good to have a test case for that... |
I was expecting the ManPageGenerator to ignore "hidden" options the same way that the standard
--help
renderer ignores them, for example:This does NOT render when
--help
is used, but it IS rendered to the manpage doc:The text was updated successfully, but these errors were encountered: