Add --std to the man file
This commit is contained in:
parent
d5c2c7db88
commit
a383010012
|
@ -125,6 +125,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
|
||||||
<arg choice="opt"><option>--rule=<rule></option></arg>
|
<arg choice="opt"><option>--rule=<rule></option></arg>
|
||||||
<arg choice="opt"><option>--rule-file=<file></option></arg>
|
<arg choice="opt"><option>--rule-file=<file></option></arg>
|
||||||
<arg choice="opt"><option>--style</option></arg>
|
<arg choice="opt"><option>--style</option></arg>
|
||||||
|
<arg choice="opt"><option>--std=<id></option></arg>
|
||||||
<arg choice="opt"><option>--suppress=<spec></option></arg>
|
<arg choice="opt"><option>--suppress=<spec></option></arg>
|
||||||
<arg choice="opt"><option>--suppressions-list=<file></option></arg>
|
<arg choice="opt"><option>--suppressions-list=<file></option></arg>
|
||||||
<arg choice="opt"><option>--template='<text>'</option></arg>
|
<arg choice="opt"><option>--template='<text>'</option></arg>
|
||||||
|
@ -388,6 +389,34 @@ Directory name is matched to all parts of the path.</para>
|
||||||
<para>Deprecated, use --enable=style</para>
|
<para>Deprecated, use --enable=style</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><option>--std=<id></option></term>
|
||||||
|
<listitem>
|
||||||
|
<para>Enable some environment related checks. The available options are:
|
||||||
|
<glosslist>
|
||||||
|
<glossentry>
|
||||||
|
<glossterm>posix</glossterm>
|
||||||
|
<glossdef>
|
||||||
|
<para>Use this if you want to see posix related errors</para>
|
||||||
|
</glossdef>
|
||||||
|
</glossentry>
|
||||||
|
<glossentry>
|
||||||
|
<glossterm>c99</glossterm>
|
||||||
|
<glossdef>
|
||||||
|
<para>Use this if the compiler is C99 compatible</para>
|
||||||
|
</glossdef>
|
||||||
|
</glossentry>
|
||||||
|
<glossentry>
|
||||||
|
<glossterm>c++11</glossterm>
|
||||||
|
<glossdef>
|
||||||
|
<para>Use this if the compiler is C++11 compatible. Note: you probably want to also use 'c99'.</para>
|
||||||
|
</glossdef>
|
||||||
|
</glossentry>
|
||||||
|
</glosslist>
|
||||||
|
By default all are disabled. To enable more than one, just use --std more than once: 'cppcheck --std=c99 --std=c++11 file.cpp'
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>--suppress=<spec></option></term>
|
<term><option>--suppress=<spec></option></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
|
Loading…
Reference in New Issue