removed --exception-safety and added --enable

This commit is contained in:
Daniel Marjamäki 2009-11-06 17:04:10 +01:00
parent 7397bfc765
commit d70bc2359a
1 changed files with 7 additions and 1 deletions

View File

@ -110,8 +110,14 @@ void CppCheck::parseFromArgs(int argc, const char* const argv[])
_settings._checkCodingStyle = true;
// Checking exception safety
else if (strcmp(argv[i], "--exception-safety") == 0)
else if (strcmp(argv[i], "--enable") == 0)
{
// enable all checking
_settings._showAll = true;
_settings._checkCodingStyle = true;
_settings._exceptionSafety = true;
_settings._unusedFunctions = true;
}
// Filter errors
else if (strcmp(argv[i], "--suppressions") == 0)