mention the manual in the --help output
This commit is contained in:
parent
2f0a245032
commit
edec43c913
|
@ -649,7 +649,10 @@ bool CppCheck::parseFromArgs(int argc, const char* const argv[])
|
||||||
" # Check only files one.cpp and two.cpp and give all information there is:\n"
|
" # Check only files one.cpp and two.cpp and give all information there is:\n"
|
||||||
" cppcheck -v -s one.cpp two.cpp\n"
|
" cppcheck -v -s one.cpp two.cpp\n"
|
||||||
" # Check f.cpp and search include files from inc1/ and inc2/:\n"
|
" # Check f.cpp and search include files from inc1/ and inc2/:\n"
|
||||||
" cppcheck -I inc1/ -I inc2/ f.cpp\n";
|
" cppcheck -I inc1/ -I inc2/ f.cpp\n"
|
||||||
|
"\n"
|
||||||
|
"For more information:\n"
|
||||||
|
" http://cppcheck.sf.net/manual.pdf\n";
|
||||||
reportOut(oss.str());
|
reportOut(oss.str());
|
||||||
}
|
}
|
||||||
else if (_filenames.empty())
|
else if (_filenames.empty())
|
||||||
|
|
15
readme.txt
15
readme.txt
|
@ -7,6 +7,10 @@ About
|
||||||
|
|
||||||
The original name of this program is "C++check" but it was later changed to "cppcheck".
|
The original name of this program is "C++check" but it was later changed to "cppcheck".
|
||||||
|
|
||||||
|
Manual
|
||||||
|
|
||||||
|
A manual is available online:
|
||||||
|
http://cppcheck.sf.net/manual.pdf
|
||||||
|
|
||||||
Compiling
|
Compiling
|
||||||
|
|
||||||
|
@ -20,7 +24,6 @@ Compiling
|
||||||
* gnu make
|
* gnu make
|
||||||
* g++
|
* g++
|
||||||
|
|
||||||
|
|
||||||
qmake
|
qmake
|
||||||
=====
|
=====
|
||||||
You can use the gui/gui.pro file to build the gui.
|
You can use the gui/gui.pro file to build the gui.
|
||||||
|
@ -28,22 +31,22 @@ Compiling
|
||||||
qmake
|
qmake
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|
||||||
Visual Studio
|
Visual Studio
|
||||||
=============
|
=============
|
||||||
Use the cppcheck.sln file.
|
Use the cppcheck.sln file.
|
||||||
|
|
||||||
|
|
||||||
gnu make
|
gnu make
|
||||||
========
|
========
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|
||||||
g++ (for experts)
|
g++ (for experts)
|
||||||
=================
|
=================
|
||||||
If you just want to build Cppcheck then you can use this command:
|
If you just want to build Cppcheck then you can use this command:
|
||||||
g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp
|
g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp
|
||||||
|
|
||||||
|
mingw
|
||||||
|
=====
|
||||||
|
make LDFLAGS=-lshlwapi
|
||||||
|
|
||||||
Cross compiling Win32 (CLI) version of Cppcheck in Linux
|
Cross compiling Win32 (CLI) version of Cppcheck in Linux
|
||||||
|
|
||||||
|
@ -51,10 +54,6 @@ Cross compiling Win32 (CLI) version of Cppcheck in Linux
|
||||||
make CXX=i586-mingw32msvc-g++ LDFLAGS="-lshlwapi"
|
make CXX=i586-mingw32msvc-g++ LDFLAGS="-lshlwapi"
|
||||||
mv cppcheck cppcheck.exe
|
mv cppcheck cppcheck.exe
|
||||||
|
|
||||||
Usage
|
|
||||||
|
|
||||||
A manual is available online: http://cppcheck.sf.net/manual.pdf
|
|
||||||
|
|
||||||
Webpage
|
Webpage
|
||||||
|
|
||||||
http://www.sf.net/projects/cppcheck
|
http://www.sf.net/projects/cppcheck
|
||||||
|
|
Loading…
Reference in New Issue