From 395c0055e4877792cd3104fe7d7b080fc812adad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 15 Nov 2009 16:50:54 +0100 Subject: [PATCH] manual: better description of --enable (#883) --- man/manual.docbook | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: