From bfad7ea0d336094dcd3e428857ce677127b9f512 Mon Sep 17 00:00:00 2001 From: Reijo Tomperi Date: Sun, 26 Aug 2012 00:02:44 +0300 Subject: [PATCH] Update man page: Add inconclusive and --std changes. --- man/cppcheck.1.xml | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/man/cppcheck.1.xml b/man/cppcheck.1.xml index 21b233ed7..fca2c0653 100644 --- a/man/cppcheck.1.xml +++ b/man/cppcheck.1.xml @@ -116,6 +116,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + @@ -289,7 +290,6 @@ searched for contained header files first. If paths are relative to source files First given path is searched for contained header files first. If paths are relative to source files, this is not needed. - @@ -297,7 +297,13 @@ First given path is searched for contained header files first. If paths are rela Directory name is matched to all parts of the path. - + + + + Allow that Cppcheck reports even though the analysis is inconclusive. +There are false positives with this option. Each result must be carefully investigated before you know if it is good or bad. + + @@ -402,28 +408,46 @@ Directory name is matched to all parts of the path. - Enable some standard related checks. The available options are: + Set standard. The available options are: posix - Checks related to POSIX-specific functionality + POSIX compatible code + + + + c89 + + C code is C89 compatible c99 - C99 standard related checks + C code is C99 compatible + + + + c11 + + C code is C11 compatible (default) + + + + c++03 + + C++ code is C++03 compatible c++11 - C++11 standard related checks + C++ code is C++11 compatible (default) - Example to enable more than one checks: 'cppcheck --std=c99 --std=posix file.cpp' + Example to set more than one standards: 'cppcheck --std=c99 --std=posix file.cpp'