updated error message. --check-includes has been renamed to --check-config

This commit is contained in:
Daniel Marjamaki 2011-05-04 18:52:03 +02:00
parent 79370258df
commit b55147a29e
1 changed files with 2 additions and 2 deletions

View File

@ -194,12 +194,12 @@ int CppCheckExecutor::check(int argc, const char* const argv[])
const std::list<ErrorLogger::ErrorMessage::FileLocation> callStack; const std::list<ErrorLogger::ErrorMessage::FileLocation> callStack;
ErrorLogger::ErrorMessage msg(callStack, ErrorLogger::ErrorMessage msg(callStack,
Severity::information, Severity::information,
"Cppcheck cannot find all the include files (--check-includes)\n" "Cppcheck cannot find all the include files (use --check-config for details)\n"
"Cppcheck cannot find all the include files. Cpppcheck can check the code without the " "Cppcheck cannot find all the include files. Cpppcheck can check the code without the "
"include files found. But the results will probably be more accurate if all the include " "include files found. But the results will probably be more accurate if all the include "
"files are found. Please check your project's include directories and add all of them " "files are found. Please check your project's include directories and add all of them "
"as include directories for Cppcheck. To see what files Cppcheck cannot find use " "as include directories for Cppcheck. To see what files Cppcheck cannot find use "
"--check-includes.", "--check-config.",
"missingInclude", "missingInclude",
false); false);
reportErr(msg); reportErr(msg);