From 47ee126aa9eee516737928e4657381cd7d8ab456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 28 May 2020 08:33:50 +0200 Subject: [PATCH] Tweaked --help output --- cli/cmdlineparser.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 4a2ba412e..a76ebae1a 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -951,10 +951,13 @@ void CmdLineParser::printHelp() "*.tpp, and *.txx files are checked recursively from the given directory.\n\n" "Options:\n" " --addon=\n" - " Execute addon. i.e. cert.\n" + " Execute addon. i.e. --addon=cert. If options must be\n" + " provided a json configuration is needed, see the manual\n" + " for additional information about that.\n" " --addon-python=\n" " Use this python interpreter to run addons\n" - " If not present, defaults to \"python\"\n" + " If not present, Cppcheck will try \"python3\" first and\n" + " then \"python\"\n" " --cppcheck-build-dir=\n" " Analysis output directory. Useful for various data.\n" " Some possible usages are; whole program analysis,\n" @@ -1040,11 +1043,7 @@ void CmdLineParser::printHelp() " files first. If paths are relative to source files,\n" " this is not needed.\n" " --include=\n" - " Force inclusion of a file before the checked file. Can\n" - " be used for example when checking the Linux kernel,\n" - " where autoconf.h needs to be included for every file\n" - " compiled. Works the same way as the GCC -include\n" - " option.\n" + " Force inclusion of a file before the checked file.\n" " -i Give a source file or source file directory to exclude\n" " from the check. This applies only to source files so\n" " header files included by source files are not matched.\n"