Added --no-color command line option
`--no-color` disables colors in console output
This commit is contained in:
@@ -77,6 +77,10 @@ Params::Params(int argc, char* argv[])
|
||||
if (strcmp(argv[i], "--no-cache") == 0) {
|
||||
m_blockCache = false;
|
||||
}
|
||||
|
||||
if (strcmp(argv[i], "--no-color") == 0) {
|
||||
log::CONSOLE_COLORS = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (m_stratumAddresses.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user