Skip to content

Commit 47ee126

Browse files
committed
Tweaked --help output
1 parent c979859 commit 47ee126

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

cli/cmdlineparser.cpp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -951,10 +951,13 @@ void CmdLineParser::printHelp()
951951
"*.tpp, and *.txx files are checked recursively from the given directory.\n\n"
952952
"Options:\n"
953953
" --addon=<addon>\n"
954-
" Execute addon. i.e. cert.\n"
954+
" Execute addon. i.e. --addon=cert. If options must be\n"
955+
" provided a json configuration is needed, see the manual\n"
956+
" for additional information about that.\n"
955957
" --addon-python=<python interpreter>\n"
956958
" Use this python interpreter to run addons\n"
957-
" If not present, defaults to \"python\"\n"
959+
" If not present, Cppcheck will try \"python3\" first and\n"
960+
" then \"python\"\n"
958961
" --cppcheck-build-dir=<dir>\n"
959962
" Analysis output directory. Useful for various data.\n"
960963
" Some possible usages are; whole program analysis,\n"
@@ -1040,11 +1043,7 @@ void CmdLineParser::printHelp()
10401043
" files first. If paths are relative to source files,\n"
10411044
" this is not needed.\n"
10421045
" --include=<file>\n"
1043-
" Force inclusion of a file before the checked file. Can\n"
1044-
" be used for example when checking the Linux kernel,\n"
1045-
" where autoconf.h needs to be included for every file\n"
1046-
" compiled. Works the same way as the GCC -include\n"
1047-
" option.\n"
1046+
" Force inclusion of a file before the checked file.\n"
10481047
" -i <dir or file> Give a source file or source file directory to exclude\n"
10491048
" from the check. This applies only to source files so\n"
10501049
" header files included by source files are not matched.\n"

0 commit comments

Comments
 (0)