be more informative when "-j N --enable=unusedFunction" (N>1) is passed.

unusedFunction check is disabled when -j is passed.
This commit is contained in:
Matthias Krüger 2013-12-31 16:31:34 +01:00
parent 621cf6e777
commit 287bc5d284
1 changed files with 1 additions and 1 deletions

View File

@ -715,7 +715,7 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[])
_settings->_maxConfigs = ~0U;
if (_settings->isEnabled("unusedFunction") && _settings->_jobs > 1) {
PrintMessage("cppcheck: unusedFunction check can't be used with '-j' option, so it's disabled.");
PrintMessage("cppcheck: unusedFunction check can't be used with '-j' option. Disabling unusedFunction check.");
}
if (_settings->inconclusive && _settings->_xml && _settings->_xml_version == 1U) {