cli: add --inconclusive to the help screen
This commit is contained in:
parent
9834888f19
commit
87eb2d444c
|
@ -750,6 +750,11 @@ void CmdLineParser::PrintHelp() const
|
|||
" 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"
|
||||
" --inconclusive Allow that Cppcheck reports even though the analysis is\n"
|
||||
" inconclusive.\n"
|
||||
" There are false positives with this option. Each result\n"
|
||||
" must be carefully investigated before you know if it is\n"
|
||||
" good or bad.\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"
|
||||
|
@ -818,14 +823,17 @@ void CmdLineParser::PrintHelp() const
|
|||
"\n"
|
||||
"Example usage:\n"
|
||||
" # Recursively check the current folder. Print the progress on the screen and\n"
|
||||
" write errors to a file:\n"
|
||||
" cppcheck . 2> err.txt\n"
|
||||
" # write errors to a file:\n"
|
||||
" cppcheck . 2> err.txt\n"
|
||||
"\n"
|
||||
" # Recursively check ../myproject/ and don't print progress:\n"
|
||||
" cppcheck --quiet ../myproject/\n"
|
||||
" # Check only files one.cpp and two.cpp and give all information there is:\n"
|
||||
" cppcheck -v -s one.cpp two.cpp\n"
|
||||
" cppcheck --quiet ../myproject/\n"
|
||||
"\n"
|
||||
" # Check test.cpp, enable all checks:\n"
|
||||
" cppcheck --enable=all --inconclusive --std=c++11 test.cpp\n"
|
||||
"\n"
|
||||
" # Check f.cpp and search include files from inc1/ and inc2/:\n"
|
||||
" cppcheck -I inc1/ -I inc2/ f.cpp\n"
|
||||
" cppcheck -I inc1/ -I inc2/ f.cpp\n"
|
||||
"\n"
|
||||
"For more information:\n"
|
||||
" http://cppcheck.sf.net/manual.pdf\n";
|
||||
|
|
Loading…
Reference in New Issue