manual: better description of --enable (#883)
This commit is contained in:
parent
54c6d8ab2c
commit
395c0055e4
|
@ -158,7 +158,7 @@ Checking path/file2.cpp...
|
|||
this when the whole program is checked, so that all usages is seen by
|
||||
cppcheck.</para>
|
||||
|
||||
<programlisting>cppcheck --unused-functions path</programlisting>
|
||||
<programlisting>cppcheck --enable=unusedFunctions path</programlisting>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
|
@ -414,7 +414,7 @@ void DestroyFred(void *p)
|
|||
<para>To enable the exception safety checking you can use
|
||||
<literal>--enable</literal>:</para>
|
||||
|
||||
<programlisting>cppcheck --enable fred.cpp</programlisting>
|
||||
<programlisting>cppcheck --enable=exceptNew,exceptRealloc fred.cpp</programlisting>
|
||||
|
||||
<para>The output will be:</para>
|
||||
|
||||
|
|
Loading…
Reference in New Issue