diff --git a/man/cppcheck.1.xml b/man/cppcheck.1.xml index 7999da39a..18784fc5e 100644 --- a/man/cppcheck.1.xml +++ b/man/cppcheck.1.xml @@ -151,7 +151,8 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ - By default Cppcheck checks all configurations. Use -D to limit the checking. When -D is used the checking is limited to the given configuration. + By default Cppcheck checks all configurations. Use -D to limit the checking. When -D is used the checking is limited to the given configuration. +Example: -DDEBUG=1 -D__cplusplus @@ -165,18 +166,6 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ Enable all checks. - - exceptNew - - Check exception safety when using new. - - - - exceptRealloc - - Check exception safety when reallocating. - - style @@ -184,13 +173,19 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ - unusedFunctions + unusedFunction Check for unused functions. + + missingInclude + + check for missing includes + + - Several ids can be given if you separate them with commas, e.g. --enable=style,unusedFunctions. + Several ids can be given if you separate them with commas, e.g. --enable=style,unusedFunction. @@ -283,12 +278,6 @@ files, this is not needed. Format the error messages. E.g. '{file}:{line},{severity},{id},{message}' or '{file}({line}):({severity}) {message}'. Pre-defined templates: gcc, vs - - - - Deprecated, use --enable=unusedFunctions - -