diff --git a/man/manual.docbook b/man/manual.docbook index 30bb7f503..5c772731a 100644 --- a/man/manual.docbook +++ b/man/manual.docbook @@ -294,7 +294,7 @@ Checking path/file2.cpp... - file + file filename. Both relative and absolute paths are possible @@ -302,7 +302,7 @@ Checking path/file2.cpp... - line + line a number @@ -310,7 +310,7 @@ Checking path/file2.cpp... - id + id id of error. These are always valid symbolnames. @@ -318,17 +318,18 @@ Checking path/file2.cpp... - severity + severity - either error or style. - warning and performance are - saved as style. + either error or + style. + warning and performance + are saved as style. - msg + msg the error message @@ -375,8 +376,6 @@ gui/test.cpp:16: error: Mismatching allocation and deallocation: kChecking gui/test.cpp... gui/test.cpp,31,error,memleak,Memory leak: b gui/test.cpp,16,error,mismatchAllocDealloc,Mismatching allocation and deallocation: k - - @@ -391,15 +390,15 @@ gui/test.cpp,16,error,mismatchAllocDealloc,Mismatching allocation and deallocati [error id]:[filename2] [error id] - The error id is the id that you want to suppress. + The error id is the id that you want to suppress. The easiest way to get it is to use the --xml - command line flag. Copy and paste the id string from the XML - output. This may be * to suppress all warnings (for a specified file or - files). + command line flag. Copy and paste the id string from the XML + output. This may be * to suppress all warnings (for a + specified file or files). - The filename may include the wildcard characters - * or ?, which match any sequence of characters or any single character - respectively. + The filename may include the wildcard characters + * or ?, which match any sequence of + characters or any single character respectively. cppcheck --suppress=memleak:file1.cpp src/ @@ -415,8 +414,6 @@ uninitvar You can then use the suppressions file: cppcheck --suppressions suppressions.txt src/ - -