diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index c8186cdb1..c79efde07 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -703,6 +703,9 @@ void CmdLineParser::PrintHelp() " -I Give include path. Give several -I parameters to give\n" " several paths. First given path is checked first. If\n" " paths are relative to source files, this is not needed.\n" + " --includes-file=\n" + " Specify the include paths to check in a text file. Add\n" + " one include path per line.\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" diff --git a/man/cppcheck.1.xml b/man/cppcheck.1.xml index bb9884f42..a1ef6d765 100644 --- a/man/cppcheck.1.xml +++ b/man/cppcheck.1.xml @@ -113,6 +113,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + @@ -271,7 +272,13 @@ default. If used together with --max-ifdefs=, the last option is the one that is files, this is not needed. - + + + + Specify the include paths to check in a text file. Add one include path per line. + + +