From 6bf77955bd35fe686c1d1484b79bfa8fb1bc544d Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Fri, 6 Jan 2017 13:16:06 +0900 Subject: [PATCH] Example of ignoring multiple directories Add documentation for showing how to ignore multiple directories. Also highlight the fact that the -i option does not currently work in conjunction with the --project option. --- man/manual.docbook | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/man/manual.docbook b/man/manual.docbook index b22cea5b4..e1e38ce14 100644 --- a/man/manual.docbook +++ b/man/manual.docbook @@ -127,6 +127,14 @@ Checking path/file2.cpp... class="directory">src/c are checked: cppcheck -isrc/c src + + This option does not currently work with the + --project option and is only + valid when supplying an input directory.To ignore multiple directories + supply the -i multiple times. + The following command ignores both the src/b and src/c directories. + + cppcheck -isrc/b -isrc/c