From 7d3f6f69f0c40a75d7ac26db84b5114c68aca2d7 Mon Sep 17 00:00:00 2001 From: vBm Date: Mon, 13 Dec 2010 15:13:50 +0100 Subject: [PATCH] Change case for some standardized words --- man/manual.docbook | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/man/manual.docbook b/man/manual.docbook index e98543259..e89361aa1 100644 --- a/man/manual.docbook +++ b/man/manual.docbook @@ -30,7 +30,7 @@ - Cppcheck should work on any platform that has sufficient cpu and + Cppcheck should work on any platform that has sufficient CPU and memory. @@ -77,12 +77,12 @@
Checking all files in a folder - Normally a program has many sourcefiles. And you want to check - them all. Cppcheck can check all sourcefiles in a directory: + Normally a program has many source files. And you want to check + them all. Cppcheck can check all source files in a directory: cppcheck path - If "path" is a folder then cppcheck will check all sourcefiles in + If "path" is a folder then cppcheck will check all source files in this folder. Checking path/file1.cpp... @@ -264,7 +264,7 @@ Checking path/file2.cpp... cppcheck --xml file1.cpp - The xml format is: + The XML format is: <?xml version="1.0"?> <results> @@ -372,7 +372,7 @@ gui/test.cpp,16,error,mismatchAllocDealloc,Mismatching allocation and deallocati 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 + line flag. Copy and paste the id string from the XML output. Here is an example: @@ -396,7 +396,7 @@ uninitvar some tweaking you can improve the checking.
- Userdefined allocation/deallocation functions + User defined allocation/deallocation functions Cppcheck understands many common allocation and deallocation functions. But not all. @@ -493,13 +493,13 @@ int a(int sz) - Html report + HTML report - You can convert the xml output from cppcheck into a html report. - You'll need python and the pygments module + You can convert the XML output from cppcheck into a HTML report. + You'll need Python and the pygments module (http://pygments.org/) for this to work. In the Cppcheck source tree there is a folder "htmlreport" that contains a script that transforms - a Cppcheck xml file into html output. + a Cppcheck XML file into HTML output. This command generates the help screen: @@ -550,7 +550,7 @@ htmlreport/cppcheck-htmlreport --file=err.xml --report-dir=test1 --source-dir=.< You can show/hide certain types of messages through the View menu. - Results can be saved to an xml file that can later be opened. See + Results can be saved to an XML file that can later be opened. See Save results to file and Open XML.