diff --git a/man/manual.docbook b/man/manual.docbook index 125ac9acd..02a25bf73 100644 --- a/man/manual.docbook +++ b/man/manual.docbook @@ -3,9 +3,9 @@ "/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd"> - Cppcheck 1.46 + Cppcheck 1.47 - 2010-12-09 + 2011-02-06 @@ -94,19 +94,20 @@ Checking path/file2.cpp...
Excluding a file or folder from checking - There is no command to exclude a file or folder from checking. But - you can exclude a file or folder by being more careful when including - files and folders in the checking. + To exclude a file or folder, there are two options. - Imagine for example that the folder "src" contain the folders "a", - "b" and "c". To exclude "c" this command can be used: + The first option is to only provide the paths and files you want + to check. cppcheck src/a src/b All files under "src/a" and "src/b" are then checked. - The flag --file-list might also be - useful. + The second option is to use -i, with it you + specify files/paths to ignore. With this command no files in "src/c" are + checked: + + cppcheck -isrc/c src
@@ -148,6 +149,15 @@ Checking path/file2.cpp... suggestions for making the code faster + + + information + + + Informational messages that might be interesting. Ignore + these messages unless you really agree. + + The performance messages are based on 'common knowledge'. It is