From 60b3bbdea4539f4e11386c1afe4c8adc4ddaf0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 1 Mar 2009 19:10:48 +0000 Subject: [PATCH] removed the '--vcl' flag from the console app --- src/cppcheck.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/cppcheck.cpp b/src/cppcheck.cpp index 0e168e29f..9ddb37278 100644 --- a/src/cppcheck.cpp +++ b/src/cppcheck.cpp @@ -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"