diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 1b49490d6..0da8affd9 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -1008,9 +1008,6 @@ void CmdLineParser::printHelp() " addon json files or through this command line option.\n" " If not present, Cppcheck will try \"python3\" first and\n" " then \"python\".\n" - " --bug-hunting\n" - " Enable noisy and soundy analysis. The normal Cppcheck\n" - " analysis is turned off.\n" " --cppcheck-build-dir=\n" " Cppcheck work folder. Advantages:\n" " * whole program analysis\n" @@ -1131,26 +1128,15 @@ void CmdLineParser::printHelp() " distributed with Cppcheck is loaded automatically.\n" " For more information about library files, read the\n" " manual.\n" - " --max-ctu-depth=N Max depth in whole program analysis. The default value\n" - " is 2. A larger value will mean more errors can be found\n" - " but also means the analysis will be slower.\n" - " --output-file= Write results to file, rather than standard error.\n" - " --project= Run Cppcheck on project. The can be a Visual\n" - " Studio Solution (*.sln), Visual Studio Project\n" - " (*.vcxproj), compile database (compile_commands.json),\n" - " or Borland C++ Builder 6 (*.bpr). The files to analyse,\n" - " include paths, defines, platform and undefines in\n" - " the specified file will be used.\n" - " --project-configuration=\n" - " If used together with a Visual Studio Solution (*.sln)\n" - " or Visual Studio Project (*.vcxproj) you can limit\n" - " the configuration cppcheck should check.\n" - " For example: '--project-configuration=Release|Win32'\n" " --max-configs=\n" " Maximum number of configurations to check in a file\n" " before skipping it. Default is '12'. If used together\n" " with '--force', the last option is the one that is\n" " effective.\n" + " --max-ctu-depth=N Max depth in whole program analysis. The default value\n" + " is 2. A larger value will mean more errors can be found\n" + " but also means the analysis will be slower.\n" + " --output-file= Write results to file, rather than standard error.\n" " --platform=, --platform=\n" " Specifies platform specific types and sizes. The\n" " available builtin platforms are:\n" @@ -1200,6 +1186,17 @@ void CmdLineParser::printHelp() } std::cout << + " --project= Run Cppcheck on project. The can be a Visual\n" + " Studio Solution (*.sln), Visual Studio Project\n" + " (*.vcxproj), compile database (compile_commands.json),\n" + " or Borland C++ Builder 6 (*.bpr). The files to analyse,\n" + " include paths, defines, platform and undefines in\n" + " the specified file will be used.\n" + " --project-configuration=\n" + " If used together with a Visual Studio Solution (*.sln)\n" + " or Visual Studio Project (*.vcxproj) you can limit\n" + " the configuration cppcheck should check.\n" + " For example: '--project-configuration=Release|Win32'\n" " -q, --quiet Do not show progress reports.\n" " -rp=, --relative-paths=\n" " Use relative paths in output. When given, are\n" @@ -1287,9 +1284,6 @@ void CmdLineParser::printHelp() " -v, --verbose Output more detailed error information.\n" " --version Print out version number.\n" " --xml Write results in xml format to error stream (stderr).\n" - " --xml-version=\n" - " Select the XML file version. Also implies --xml.\n" - " Currently only version 2 is available. The default version is 2.\n" "\n" "Example usage:\n" " # Recursively check the current folder. Print the progress on the screen and\n"