manual: point at open source / premium manual
This commit is contained in:
parent
7046687fce
commit
77e32f457a
|
@ -992,6 +992,10 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
|
||||||
|
|
||||||
void CmdLineParser::printHelp()
|
void CmdLineParser::printHelp()
|
||||||
{
|
{
|
||||||
|
const std::string manualUrl(isCppcheckPremium() ?
|
||||||
|
"https://cppcheck.sourceforge.io/manual.pdf" :
|
||||||
|
"https://files.cppchecksolutions.com/manual.pdf");
|
||||||
|
|
||||||
std::cout << "Cppcheck - A tool for static C/C++ code analysis\n"
|
std::cout << "Cppcheck - A tool for static C/C++ code analysis\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Syntax:\n"
|
"Syntax:\n"
|
||||||
|
@ -1300,7 +1304,7 @@ void CmdLineParser::printHelp()
|
||||||
" cppcheck -I inc1/ -I inc2/ f.cpp\n"
|
" cppcheck -I inc1/ -I inc2/ f.cpp\n"
|
||||||
"\n"
|
"\n"
|
||||||
"For more information:\n"
|
"For more information:\n"
|
||||||
" https://cppcheck.sourceforge.io/manual.pdf\n"
|
" " << manualUrl << "\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Many thanks to the 3rd party libraries we use:\n"
|
"Many thanks to the 3rd party libraries we use:\n"
|
||||||
" * tinyxml2 -- loading project/library/ctu files.\n"
|
" * tinyxml2 -- loading project/library/ctu files.\n"
|
||||||
|
|
Loading…
Reference in New Issue