Update man page: Add inconclusive and --std changes.
This commit is contained in:
parent
f127728582
commit
bfad7ea0d3
|
@ -116,6 +116,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
|
||||||
<arg choice="opt"><option>-I<dir></option></arg>
|
<arg choice="opt"><option>-I<dir></option></arg>
|
||||||
<arg choice="opt"><option>--includes-file=<file></option></arg>
|
<arg choice="opt"><option>--includes-file=<file></option></arg>
|
||||||
<arg choice="opt"><option>-i<dir></option></arg>
|
<arg choice="opt"><option>-i<dir></option></arg>
|
||||||
|
<arg choice="opt"><option>--inconclusive</option></arg>
|
||||||
<arg choice="opt"><option>--inline-suppr</option></arg>
|
<arg choice="opt"><option>--inline-suppr</option></arg>
|
||||||
<arg choice="opt"><option>-j<jobs></option></arg>
|
<arg choice="opt"><option>-j<jobs></option></arg>
|
||||||
<arg choice="opt"><option>--max-configs=<limit></option></arg>
|
<arg choice="opt"><option>--max-configs=<limit></option></arg>
|
||||||
|
@ -289,7 +290,6 @@ searched for contained header files first. If paths are relative to source files
|
||||||
First given path is searched for contained header files first. If paths are relative to source files, this is not needed.</para>
|
First given path is searched for contained header files first. If paths are relative to source files, this is not needed.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>-i <dir></option></term>
|
<term><option>-i <dir></option></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -297,7 +297,13 @@ First given path is searched for contained header files first. If paths are rela
|
||||||
Directory name is matched to all parts of the path.</para>
|
Directory name is matched to all parts of the path.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><option>--inconclusive</option></term>
|
||||||
|
<listitem>
|
||||||
|
<para>Allow that Cppcheck reports even though the analysis is inconclusive.
|
||||||
|
There are false positives with this option. Each result must be carefully investigated before you know if it is good or bad.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>--inline-suppr</option></term>
|
<term><option>--inline-suppr</option></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -402,28 +408,46 @@ Directory name is matched to all parts of the path.</para>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>--std=<id></option></term>
|
<term><option>--std=<id></option></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Enable some standard related checks. The available options are:
|
<para>Set standard. The available options are:
|
||||||
<glosslist>
|
<glosslist>
|
||||||
<glossentry>
|
<glossentry>
|
||||||
<glossterm>posix</glossterm>
|
<glossterm>posix</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>Checks related to POSIX-specific functionality</para>
|
<para>POSIX compatible code</para>
|
||||||
|
</glossdef>
|
||||||
|
</glossentry>
|
||||||
|
<glossentry>
|
||||||
|
<glossterm>c89</glossterm>
|
||||||
|
<glossdef>
|
||||||
|
<para>C code is C89 compatible</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
<glossentry>
|
<glossentry>
|
||||||
<glossterm>c99</glossterm>
|
<glossterm>c99</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>C99 standard related checks</para>
|
<para>C code is C99 compatible</para>
|
||||||
|
</glossdef>
|
||||||
|
</glossentry>
|
||||||
|
<glossentry>
|
||||||
|
<glossterm>c11</glossterm>
|
||||||
|
<glossdef>
|
||||||
|
<para>C code is C11 compatible (default)</para>
|
||||||
|
</glossdef>
|
||||||
|
</glossentry>
|
||||||
|
<glossentry>
|
||||||
|
<glossterm>c++03</glossterm>
|
||||||
|
<glossdef>
|
||||||
|
<para>C++ code is C++03 compatible</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
<glossentry>
|
<glossentry>
|
||||||
<glossterm>c++11</glossterm>
|
<glossterm>c++11</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>C++11 standard related checks</para>
|
<para>C++ code is C++11 compatible (default)</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
</glosslist>
|
</glosslist>
|
||||||
Example to enable more than one checks: 'cppcheck --std=c99 --std=posix file.cpp'
|
Example to set more than one standards: 'cppcheck --std=c99 --std=posix file.cpp'
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
Loading…
Reference in New Issue