manual: better description of --enable (#883)

This commit is contained in:
Daniel Marjamäki 2009-11-15 16:50:54 +01:00
parent 54c6d8ab2c
commit 395c0055e4
1 changed files with 3 additions and 3 deletions

View File

@ -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>