diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 39c6eb916..3f1467475 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -610,8 +610,9 @@ void CmdLineParser::PrintHelp() " cppcheck [--append=file] [-D] [--enable=] [--error-exitcode=[n]]\n" " [--exitcode-suppressions file] [--file-list=file.txt] [--force]\n" " [--help] [-Idir] [--inline-suppr] [-j [jobs]] [--quiet]\n" - " [--report-progress] [--style] [--suppressions-list=file.txt]\n" - " [--verbose] [--version] [--xml] [file or path1] [file or path]\n" + " [--report-progress] [--rule=] [--rule-file=]\n" + " [--style] [--suppressions-list=file.txt] [--verbose]\n" + " [--version] [--xml] [file or path1] [file or path]\n" "\n" "If path is given instead of filename, *.cpp, *.cxx, *.cc, *.c++ and *.c files\n" "are checked recursively from given directory.\n\n" @@ -655,6 +656,8 @@ void CmdLineParser::PrintHelp() " -j [jobs] Start [jobs] threads to do the checking simultaneously.\n" " -q, --quiet Only print error messages\n" " --report-progress Report progress messages while checking a file.\n" + " --rule= match regular expression\n" + " --rule-file= use given rule file\n" " -s, --style deprecated, use --enable=style\n" " --suppressions-list=file\n" " Suppress warnings listed in the file. Filename and line\n"