updated help about --enable

This commit is contained in:
Daniel Marjamäki 2009-12-05 20:08:52 +01:00
parent aed06fbd86
commit 42093911d6
2 changed files with 11 additions and 11 deletions

View File

@ -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"

View File

@ -105,7 +105,6 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
<arg choice="opt"><option>--all</option></arg>
<arg choice="opt"><option>--append [file]</option></arg>
<arg choice="opt"><option>--auto-dealloc [file]</option></arg>
<arg choice="opt"><option>--enable</option></arg>
<arg choice="opt"><option>--enable=id</option></arg>
<arg choice="opt"><option>--error-exitcode=[n]</option></arg>
<arg choice="opt"><option>--force</option></arg>
@ -159,17 +158,18 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
<para>This option can be given several times, allowing you to provide several .lst files.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--enable</option></term>
<listitem>
<para>Enable all extra checks</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--enable=id</option></term>
<listitem>
<para>Enable specific checks. The available ids are:
<glosslist>
<glossentry><glossterm>all</glossterm>
<glossdef>
<para>
enable all checks
</para>
</glossdef>
</glossentry>
<glossentry><glossterm>exceptNew</glossterm>
<glossdef>
<para>
@ -180,14 +180,14 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
<glossentry><glossterm>exceptRealloc</glossterm>
<glossdef>
<para>
exceptRealloc - exception safety when reallocating
exception safety when reallocating
</para>
</glossdef>
</glossentry>
<glossentry><glossterm>possibleError</glossterm>
<glossdef>
<para>
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.
</para>
</glossdef>
@ -195,7 +195,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
<glossentry><glossterm>style</glossterm>
<glossdef>
<para>
exceptRealloc - Check coding style
Check coding style
</para>
</glossdef>
</glossentry>