Tweaked --help output

This commit is contained in:
Daniel Marjamäki 2020-05-28 08:33:50 +02:00
parent c9798590ba
commit 47ee126aa9
1 changed files with 6 additions and 7 deletions

View File

@ -951,10 +951,13 @@ void CmdLineParser::printHelp()
"*.tpp, and *.txx files are checked recursively from the given directory.\n\n"
"Options:\n"
" --addon=<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=<python interpreter>\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=<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=<file>\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 <dir or file> 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"