From d7927bbb614378f9b4f173bd992ae879fc7f7c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 2 May 2011 18:49:40 +0200 Subject: [PATCH] update help screen about --check-includes --- cli/cmdlineparser.cpp | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 787695f28..7863473b3 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -647,16 +647,25 @@ void CmdLineParser::PrintHelp() "Options:\n" " --append= This allows you to provide information about\n" " functions by providing an implementation for these.\n" + " --check-includes Check for missing includes. This option is used to\n" + " determine if the cppcheck configuration is ok. No\n" + " code analysis is done during this check.\n" " -D By default Cppcheck checks all configurations.\n" " Use -D to limit the checking. When -D is used the\n" " checking is limited to the given configuration.\n" " Example: -DDEBUG=1 -D__cplusplus\n" " --enable= Enable additional checks. The available ids are:\n" - " * all - enable all checks\n" - " * style - Check coding style\n" - " * information - Enable information messages\n" - " * unusedFunction - check for unused functions\n" - " * missingInclude - check for missing includes\n" + " * all\n" + " Enable all checks\n" + " * style\n" + " Check coding style\n" + " * information\n" + " Enable information messages\n" + " * unusedFunction\n" + " Check for unused functions\n" + " * missingInclude\n" + " Warn if there are missing includes.\n" + " See also: --check-includes\n" " Several ids can be given if you separate them with\n" " commas.\n" " --error-exitcode= If errors are found, integer [n] is returned instead\n"