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

Request: process other switches when --help is passed #30

Open
AndydeCleyre opened this issue Feb 25, 2022 · 0 comments
Open

Request: process other switches when --help is passed #30

AndydeCleyre opened this issue Feb 25, 2022 · 0 comments

Comments

@AndydeCleyre
Copy link

Since rich uses itself to display the output of --help, it would be useful to process the switches affecting the output format when crafting the --help output.

$ unset LESS
$ rich --force-terminal --no-wrap -W $(( COLUMNS-4 )) --help | less -RJ

image

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