From a383010012e1270cb10fd4de7676f2fd694bfb8f Mon Sep 17 00:00:00 2001 From: Reijo Tomperi Date: Thu, 2 Feb 2012 23:43:21 +0200 Subject: [PATCH] Add --std to the man file --- man/cppcheck.1.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/man/cppcheck.1.xml b/man/cppcheck.1.xml index e106d6492..75b885c4f 100644 --- a/man/cppcheck.1.xml +++ b/man/cppcheck.1.xml @@ -125,6 +125,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + @@ -388,6 +389,34 @@ Directory name is matched to all parts of the path. Deprecated, use --enable=style + + + + Enable some environment related checks. The available options are: + + + posix + + Use this if you want to see posix related errors + + + + c99 + + Use this if the compiler is C99 compatible + + + + c++11 + + Use this if the compiler is C++11 compatible. Note: you probably want to also use 'c99'. + + + + By default all are disabled. To enable more than one, just use --std more than once: 'cppcheck --std=c99 --std=c++11 file.cpp' + + +