CLI2,Config: Add 'override' verbosity option
This allows for 'override' messages to be silenced without requiring footnotes be completely disabled. The 'override' verbosity implies 'footnotes'.
This commit is contained in:
committed by
Paul Beckingham
parent
aefe16a6e2
commit
ec31b93447
@@ -299,7 +299,9 @@ void CLI2::applyOverrides (int argc, const char** argv)
|
||||
std::string name = raw.substr (3, sep - 3);
|
||||
std::string value = raw.substr (sep + 1);
|
||||
context.config.set (name, value);
|
||||
context.footnote (format (STRING_PARSER_OVERRIDE_RC, name, value));
|
||||
|
||||
if (context.verbose("override"))
|
||||
context.footnote (format (STRING_PARSER_OVERRIDE_RC, name, value));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user