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

Explain the --no-color parameter #525

Merged
merged 4 commits into from
Feb 3, 2024

Conversation

stefan-jung
Copy link
Contributor

Description

Explain the -no-color parameter

Motivation and Context

Parameter deactivates colored logging.

Signed-off-by: Stefan Jung <stefan.jung@Dometic.com>
<pt>
<parmname>-no-color</parmname>
</pt>
<pd>By default, the DITA-OT outputs certain logging messages wrapped in special characters to get a colored output. If you prefer a clean output, you can set this parameter to deactivate the colored logging output.<codeblock>�[31m[move-meta] Failed to read file:/tmp/abc.dita: Failed to parse /tmp/abc.dita:Failed to read document: XML document structures must start and end within the same entity.�[0m</codeblock></pd>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you prefer a clean output

This makes it sound like the default is somehow "dirty", but what's happening here is that your terminal doesn't support colored output. Will rephrase this accordingly.

While we're at it, lets sort this alphabetically along with the rest of the listing.

Signed-off-by: Roger Sheen <roger@infotexture.net>
Signed-off-by: Roger Sheen <roger@infotexture.net>
Signed-off-by: Roger Sheen <roger@infotexture.net>
@infotexture infotexture changed the title Explain the -no-color parameter. Explain the --no-color parameter Feb 3, 2024
@infotexture infotexture changed the title Explain the --no-color parameter Explain the --no-color parameter Feb 3, 2024
@infotexture infotexture merged commit df50829 into dita-ot:develop Feb 3, 2024
4 checks passed
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.

2 participants