From f2d34c368658bdd1010d7d6332365a5bd6596309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludvig=20Gunne=20Lindstr=C3=B6m?= Date: Wed, 11 Dec 2024 14:36:18 +0100 Subject: [PATCH] add description for report-type option --- cli/cmdlineparser.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index eb8df5b5ead6..3d4998c56d4e 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -1768,8 +1768,15 @@ void CmdLineParser::printHelp() const " currently only possible to apply the base paths to\n" " files that are on a lower level in the directory tree.\n" " --report-progress Report progress messages while checking a file (single job only).\n" - " --report-type=\n" - " TODO:decsription\n" + " --report-type= Add guideline and classification fields for specified coding standard.\n" + " The available report types are:\n" + " * normal (default, only show cppcheck error ID and severity)\n" + " * autosar\n" + " * certC\n" + " * certCpp\n" + " * misraC\n" + " * misraCpp2008\n" + " * misraCpp2023\n" " --rule= Match regular expression.\n" " --rule-file= Use given rule file. For more information, see:\n" " http://sourceforge.net/projects/cppcheck/files/Articles/\n"