Skip to content

Commit 287bc5d

Browse files
committed
be more informative when "-j N --enable=unusedFunction" (N>1) is passed.
unusedFunction check is disabled when -j is passed.
1 parent 621cf6e commit 287bc5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/cmdlineparser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[])
715715
_settings->_maxConfigs = ~0U;
716716

717717
if (_settings->isEnabled("unusedFunction") && _settings->_jobs > 1) {
718-
PrintMessage("cppcheck: unusedFunction check can't be used with '-j' option, so it's disabled.");
718+
PrintMessage("cppcheck: unusedFunction check can't be used with '-j' option. Disabling unusedFunction check.");
719719
}
720720

721721
if (_settings->inconclusive && _settings->_xml && _settings->_xml_version == 1U) {

0 commit comments

Comments
 (0)