readme : minor updates
This commit is contained in:
parent
e11799eede
commit
a0d27c9109
13
readme.txt
13
readme.txt
|
@ -8,7 +8,7 @@ Cppcheck
|
||||||
About
|
About
|
||||||
|
|
||||||
The original name of this program is "C++check".
|
The original name of this program is "C++check".
|
||||||
The name was changed to "cppcheck" (a google search is more successful now).
|
The name was changed to "cppcheck".
|
||||||
|
|
||||||
|
|
||||||
Compiling
|
Compiling
|
||||||
|
@ -21,16 +21,7 @@ Compiling
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
|
|
||||||
The syntax is:
|
Run the cppcheck program without parameters and a help text will be shown.
|
||||||
cppcheck [--all] [--quiet] [--style] [--verbose] [--force] [file or path] [file or path]
|
|
||||||
|
|
||||||
The error messages will be printed to stderr.
|
|
||||||
|
|
||||||
Example (Check all files. Use all checks):
|
|
||||||
cppcheck --style --all ./
|
|
||||||
|
|
||||||
To output error messages to a file use this syntax (works both on Windows and Linux):
|
|
||||||
cppcheck file.cpp 2> err.txt
|
|
||||||
|
|
||||||
|
|
||||||
Recommendations
|
Recommendations
|
||||||
|
|
Loading…
Reference in New Issue