We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
if you run the following code, the boolean flag will not display correctly. We put the short name first instead of last like in your examples.
import rich_click as click @click.command() @click.option( "-d/-n", "--debug/--no-debug", default=False, help="""Enable debug mode. Newlines are removed by default. Double newlines are preserved.""", ) def main(debug) -> None: print(debug) if __name__ == "__main__": main()
We get the following result.
I will try to look into it and do a PR.
The text was updated successfully, but these errors were encountered:
e4f0ab9
Thanks for reporting this 👍🏻 Should be fixed in dev now, was just a typo that I'd missed.
Sorry, something went wrong.
Published in v1.2.1 https://pypi.org/project/rich-click/1.2.1/
--no-*
No branches or pull requests
Hi,
if you run the following code, the boolean flag will not display correctly. We put the short name first instead of last like in your examples.
We get the following result.
I will try to look into it and do a PR.
The text was updated successfully, but these errors were encountered: