mention the manual in the --help output

This commit is contained in:
Daniel Marjamäki 2010-08-29 13:21:35 +02:00
parent 2f0a245032
commit edec43c913
2 changed files with 12 additions and 10 deletions

View File

@ -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"
" cppcheck -v -s one.cpp two.cpp\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());
}
else if (_filenames.empty())

View File

@ -7,6 +7,10 @@ About
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
@ -20,7 +24,6 @@ Compiling
* gnu make
* g++
qmake
=====
You can use the gui/gui.pro file to build the gui.
@ -28,22 +31,22 @@ Compiling
qmake
make
Visual Studio
=============
Use the cppcheck.sln file.
gnu make
========
make
make
g++ (for experts)
=================
If you just want to build Cppcheck then you can use this command:
g++ -o cppcheck -Ilib cli/*.cpp lib/*.cpp
mingw
=====
make LDFLAGS=-lshlwapi
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"
mv cppcheck cppcheck.exe
Usage
A manual is available online: http://cppcheck.sf.net/manual.pdf
Webpage
http://www.sf.net/projects/cppcheck