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' + + +