diff --git a/man/manual.docbook b/man/manual.docbook index 1c447fd06..e0b4692ef 100644 --- a/man/manual.docbook +++ b/man/manual.docbook @@ -14,7 +14,7 @@ Cppcheck is an analysis tool for C/C++ code. Unlike C/C++ compilers and many other analysis tools, we don't detect syntax errors. Cppcheck only detects the types of bugs that the compilers normally fail to detect. - The goal is no false positives. + The goal is no false positives. Supported platforms: @@ -158,7 +158,7 @@ Checking path/file2.cpp... this when the whole program is checked, so that all usages is seen by cppcheck. - cppcheck --unused-functions path + cppcheck --enable=unusedFunctions path
@@ -414,7 +414,7 @@ void DestroyFred(void *p) To enable the exception safety checking you can use --enable: - cppcheck --enable fred.cpp + cppcheck --enable=exceptNew,exceptRealloc fred.cpp The output will be: