CLI: Reword the help text for -i.
New help text emphasizes we are ignoring/excluding source files. The header files (include via source files) are not touched. Ticket: #2965 (CLI: need better description for -i option (applies only to source files))
This commit is contained in:
parent
a382a6938b
commit
d93e741092
|
@ -682,10 +682,10 @@ void CmdLineParser::PrintHelp()
|
|||
" -I <dir> 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"
|
||||
" -i <dir> Give path to ignore. Give several -i parameters to\n"
|
||||
" ignore several paths. Give directory name or filename\n"
|
||||
" with path as parameter. Directory name is matched to\n"
|
||||
" all parts of the path.\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"
|
||||
" Directory name is matched to all parts of the path.\n"
|
||||
" --inline-suppr Enable inline suppressions. Use them by placing one or\n"
|
||||
" more comments, like: // cppcheck-suppress warningId\n"
|
||||
" on the lines before the warning to suppress.\n"
|
||||
|
|
Loading…
Reference in New Issue