Update man page

This commit is contained in:
Reijo Tomperi 2010-10-03 00:02:46 +03:00
parent 78795dc3ac
commit 7f58a18020
1 changed files with 10 additions and 21 deletions

View File

@ -151,7 +151,8 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
<varlistentry> <varlistentry>
<term><option>-D[id]</option></term> <term><option>-D[id]</option></term>
<listitem> <listitem>
<para>By default Cppcheck checks all configurations. Use -D to limit the checking. When -D is used the checking is limited to the given configuration.</para> <para>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</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
@ -165,18 +166,6 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
<para>Enable all checks.</para> <para>Enable all checks.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
<glossentry>
<glossterm>exceptNew</glossterm>
<glossdef>
<para>Check exception safety when using new.</para>
</glossdef>
</glossentry>
<glossentry>
<glossterm>exceptRealloc</glossterm>
<glossdef>
<para>Check exception safety when reallocating.</para>
</glossdef>
</glossentry>
<glossentry> <glossentry>
<glossterm>style</glossterm> <glossterm>style</glossterm>
<glossdef> <glossdef>
@ -184,13 +173,19 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
</glossdef> </glossdef>
</glossentry> </glossentry>
<glossentry> <glossentry>
<glossterm>unusedFunctions</glossterm> <glossterm>unusedFunction</glossterm>
<glossdef> <glossdef>
<para>Check for unused functions.</para> <para>Check for unused functions.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
<glossentry>
<glossterm>missingInclude</glossterm>
<glossdef>
<para>check for missing includes</para>
</glossdef>
</glossentry>
</glosslist> </glosslist>
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.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -283,12 +278,6 @@ files, this is not needed.</para>
<para>Format the error messages. E.g. '{file}:{line},{severity},{id},{message}' or '{file}({line}):({severity}) {message}'. Pre-defined templates: gcc, vs</para> <para>Format the error messages. E.g. '{file}:{line},{severity},{id},{message}' or '{file}({line}):({severity}) {message}'. Pre-defined templates: gcc, vs</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><option>--unused-functions</option></term>
<listitem>
<para>Deprecated, use --enable=unusedFunctions</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><option>-v</option></term> <term><option>-v</option></term>
<term><option>--verbose</option></term> <term><option>--verbose</option></term>