help: clarify --suppress a little in the --help output. Ticket: #2964

This commit is contained in:
Daniel Marjamäki 2011-08-06 17:09:49 +02:00
parent 371838b9cb
commit 01ae5fb593
1 changed files with 4 additions and 2 deletions

View File

@ -698,9 +698,11 @@ void CmdLineParser::PrintHelp()
" https://sourceforge.net/projects/cppcheck/files/Articles/\n" " https://sourceforge.net/projects/cppcheck/files/Articles/\n"
#endif #endif
" -s, --style Deprecated, use --enable=style\n" " -s, --style Deprecated, use --enable=style\n"
" --suppress=<spec> Suppress a specific warning. The format of <spec> is:\n" " --suppress=<spec> Suppress warnings that match <spec>. The format of <spec>\n"
" is:\n"
" [error id]:[filename]:[line]\n" " [error id]:[filename]:[line]\n"
" The [filename] and [line] are optional.\n" " The [filename] and [line] are optional. If [error id] is a\n"
" wildcard '*', all error ids match.\n"
" --suppressions-list=<file>\n" " --suppressions-list=<file>\n"
" Suppress warnings listed in the file. Each suppression\n" " Suppress warnings listed in the file. Each suppression\n"
" is in the same format as <spec> above.\n" " is in the same format as <spec> above.\n"