Cppcheck: Added short info about --rule and --rule-file to --help output

This commit is contained in:
Daniel Marjamäki 2011-02-05 20:15:22 +01:00
parent e8ebbf2701
commit 2fa2157543
1 changed files with 5 additions and 2 deletions

View File

@ -610,8 +610,9 @@ void CmdLineParser::PrintHelp()
" cppcheck [--append=file] [-D<ID>] [--enable=<id>] [--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>] [--rule-file=<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=<rule> match regular expression\n"
" --rule-file=<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"