removed the '--vcl' flag from the console app

This commit is contained in:
Daniel Marjamäki 2009-03-01 19:10:48 +00:00
parent 8e5f0b19fa
commit 60b3bbdea4
1 changed files with 1 additions and 6 deletions

View File

@ -110,10 +110,6 @@ std::string CppCheck::parseFromArgs(int argc, const char* const argv[])
else if (strcmp(argv[i], "--unused-functions") == 0)
_settings._unusedFunctions = true;
// Write results in results.xml
else if (strcmp(argv[i], "--vcl") == 0)
_settings._vcl = true;
// Print help
else if (strcmp(argv[i], "-h") == 0 || strcmp(argv[i], "--help") == 0)
{
@ -212,7 +208,7 @@ std::string CppCheck::parseFromArgs(int argc, const char* const argv[])
"\n"
"Syntax:\n"
" cppcheck [--all] [--force] [--help] [-Idir] [--quiet] [--style]\n"
" [--unused-functions] [--verbose] [--vcl] [--xml]\n"
" [--unused-functions] [--verbose] [--xml]\n"
" [file or path1] [file or path]\n"
"\n"
"If path is given instead of filename, *.cpp, *.cxx, *.cc, *.c++ and *.c files\n"
@ -229,7 +225,6 @@ std::string CppCheck::parseFromArgs(int argc, const char* const argv[])
" -q, --quiet Only print error messages\n"
" -s, --style Check coding style\n"
" --unused-functions Check if there are unused functions\n"
" --vcl Suppress messages about memory leaks when using VCL classes\n"
" -v, --verbose More detailed error reports\n"
" -j [jobs] Start [jobs] threads to do the checking simultaneously.\n"
" --xml Write results in xml to error stream.\n"