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

Fix help render when NO_COLOR is specified #1584

Closed
wants to merge 1 commit into from

Conversation

kzu
Copy link
Contributor

@kzu kzu commented Jul 17, 2024

Currently, running --help with NO_COLOR set, results in formatting still being applied via markup to the options and default values.

This complements the previous fix for #211 for that scenario and is related to #1408.

Fixes #1583

fixes #

  • I have read the Contribution Guidelines
  • I have commented on the issue above and discussed the intended changes
  • A maintainer has signed off on the changes and the issue was assigned to me
  • All newly added code is adequately covered by tests
  • All existing tests are still running without errors
  • The documentation was modified to reflect the changes OR no documentation changes are required.

Changes


Please upvote 👍 this pull request if you are interested in it.

Currently, running `--help` with `NO_COLOR` set, results in formatting still being applied via markup to the options and default values.

This complements the previous fix for spectreconsole#211 for that scenario and is related to spectreconsole#1408.

Fixes spectreconsole#1583
@kzu kzu marked this pull request as draft July 17, 2024 06:52
@kzu kzu closed this Jul 17, 2024
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

Successfully merging this pull request may close these issues.

HelpProvider renders some formatting markup even with NO_COLOR
1 participant