diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index 94187cff2..391ff57c8 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -346,8 +346,8 @@ void CppCheck::parseFromArgs(int argc, const char* const argv[]) " classname / line - in a .lst file.\n" " This option can be used several times, allowing you to\n" " specify several .lst files.\n" - " --enable Enable all extra checks\n" " --enable=id Enable specific checks. The available ids are:\n" + " * all - enable all checks\n" " * exceptNew - exception safety when using new\n" " * exceptRealloc - exception safety when reallocating\n" " * possibleError - Make the checking more sensitive.\n" diff --git a/man/cppcheck.1.xml b/man/cppcheck.1.xml index 370c10b34..d8fdc9ac7 100644 --- a/man/cppcheck.1.xml +++ b/man/cppcheck.1.xml @@ -105,7 +105,6 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ - @@ -159,17 +158,18 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ This option can be given several times, allowing you to provide several .lst files. - - - - Enable all extra checks - - Enable specific checks. The available ids are: + all + + + enable all checks + + + exceptNew @@ -180,14 +180,14 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ exceptRealloc - exceptRealloc - exception safety when reallocating + exception safety when reallocating possibleError - exceptRealloc - Make the checking more sensitive. More bugs are detected, + Make the checking more sensitive. More bugs are detected, but there are also more false positives. @@ -195,7 +195,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ style - exceptRealloc - Check coding style + Check coding style