Merge pull request #854 from mwjohnson/patch-1

Example of ignoring multiple directories
This commit is contained in:
Daniel Marjamäki 2017-01-06 11:56:49 +01:00 committed by GitHub
commit 436ba256ce
1 changed files with 8 additions and 0 deletions

View File

@ -127,6 +127,14 @@ Checking path/file2.cpp...
class="directory">src/c</filename> are checked:</para>
<programlisting>cppcheck -isrc/c src</programlisting>
<para>This option does not currently work with the
<parameter class="command">--project</parameter> option and is only
valid when supplying an input directory.To ignore multiple directories
supply the <parameter class="command">-i</parameter> multiple times.
The following command ignores both the src/b and src/c directories.</para>
<programlisting>cppcheck -isrc/b -isrc/c</programlisting>
</section>
<section>