updated help about --enable
This commit is contained in:
parent
aed06fbd86
commit
42093911d6
|
@ -346,8 +346,8 @@ void CppCheck::parseFromArgs(int argc, const char* const argv[])
|
||||||
" classname / line - in a .lst file.\n"
|
" classname / line - in a .lst file.\n"
|
||||||
" This option can be used several times, allowing you to\n"
|
" This option can be used several times, allowing you to\n"
|
||||||
" specify several .lst files.\n"
|
" specify several .lst files.\n"
|
||||||
" --enable Enable all extra checks\n"
|
|
||||||
" --enable=id Enable specific checks. The available ids are:\n"
|
" --enable=id Enable specific checks. The available ids are:\n"
|
||||||
|
" * all - enable all checks\n"
|
||||||
" * exceptNew - exception safety when using new\n"
|
" * exceptNew - exception safety when using new\n"
|
||||||
" * exceptRealloc - exception safety when reallocating\n"
|
" * exceptRealloc - exception safety when reallocating\n"
|
||||||
" * possibleError - Make the checking more sensitive.\n"
|
" * possibleError - Make the checking more sensitive.\n"
|
||||||
|
|
|
@ -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>--all</option></arg>
|
||||||
<arg choice="opt"><option>--append [file]</option></arg>
|
<arg choice="opt"><option>--append [file]</option></arg>
|
||||||
<arg choice="opt"><option>--auto-dealloc [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>--enable=id</option></arg>
|
||||||
<arg choice="opt"><option>--error-exitcode=[n]</option></arg>
|
<arg choice="opt"><option>--error-exitcode=[n]</option></arg>
|
||||||
<arg choice="opt"><option>--force</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>
|
<para>This option can be given several times, allowing you to provide several .lst files.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
|
||||||
<term><option>--enable</option></term>
|
|
||||||
<listitem>
|
|
||||||
<para>Enable all extra checks</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>--enable=id</option></term>
|
<term><option>--enable=id</option></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Enable specific checks. The available ids are:
|
<para>Enable specific checks. The available ids are:
|
||||||
<glosslist>
|
<glosslist>
|
||||||
|
<glossentry><glossterm>all</glossterm>
|
||||||
|
<glossdef>
|
||||||
|
<para>
|
||||||
|
enable all checks
|
||||||
|
</para>
|
||||||
|
</glossdef>
|
||||||
|
</glossentry>
|
||||||
<glossentry><glossterm>exceptNew</glossterm>
|
<glossentry><glossterm>exceptNew</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>
|
<para>
|
||||||
|
@ -180,14 +180,14 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
|
||||||
<glossentry><glossterm>exceptRealloc</glossterm>
|
<glossentry><glossterm>exceptRealloc</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>
|
<para>
|
||||||
exceptRealloc - exception safety when reallocating
|
exception safety when reallocating
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
<glossentry><glossterm>possibleError</glossterm>
|
<glossentry><glossterm>possibleError</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>
|
<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.
|
but there are also more false positives.
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
|
@ -195,7 +195,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
|
||||||
<glossentry><glossterm>style</glossterm>
|
<glossentry><glossterm>style</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>
|
<para>
|
||||||
exceptRealloc - Check coding style
|
Check coding style
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
|
|
Loading…
Reference in New Issue