-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: add flag to CLI to disable colour coding of console output #4033
Conversation
Codecov Report
... and 125 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more.
|
bin/reth/src/cli/mod.rs
Outdated
|
||
/// The flag to disable colour coding of console output. | ||
#[arg(long = "log.not-coloured", global = true)] | ||
not_coloured: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@onbjerg you are better at naming things. Is this okay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, pending @onbjerg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs nit,
otherwise pending @onbjerg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ty!
…adigmxyz#4033) Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Closes #4030
This PR adds a flag
--log.not-coloured
to the CLI to disable the colour coding of console output.