Cppcheck Help: Removed information about --auto-dealloc because it is not relevant at the moment.

This commit is contained in:
Daniel Marjamäki 2010-04-10 15:05:59 +02:00
parent af49d4ba87
commit 96ba41b009
1 changed files with 3 additions and 9 deletions

View File

@ -370,7 +370,7 @@ void CppCheck::parseFromArgs(int argc, const char* const argv[])
oss << "Cppcheck - A tool for static C/C++ code analysis\n"
"\n"
"Syntax:\n"
" cppcheck [--append=file] [--auto-dealloc file.lst] [--enable]\n"
" cppcheck [--append=file] [--enable=<id>]\n"
" [--error-exitcode=[n]] [--exitcode-suppressions file] [--force]\n"
" [--help] [-Idir] [-j [jobs]] [--quiet] [--style]\n"
" [--suppressions file.txt] [--inline-suppr] [--file-list=file.txt]\n"
@ -381,12 +381,6 @@ void CppCheck::parseFromArgs(int argc, const char* const argv[])
"Options:\n"
" --append=file This allows you to provide information about\n"
" functions by providing an implementation for these.\n"
" --auto-dealloc file Suppress warnings about classes that have automatic\n"
" deallocation.\n"
" The classnames must be provided in plain text - one\n"
" classname / line - in a .lst file.\n"
" This option can be used several times, allowing you to\n"
" specify several .lst files.\n"
" --enable=id Enable specific checks. The available ids are:\n"
" * all - enable all checks\n"
" * exceptNew - exception safety when using new\n"
@ -431,10 +425,10 @@ void CppCheck::parseFromArgs(int argc, const char* const argv[])
" # Recursively check the current folder. Print the progress on the screen and\n"
" write errors in a file:\n"
" cppcheck . 2> err.txt\n"
" # Recursively check ../myproject/ and print only most fatal errors:\n"
" # Recursively check ../myproject/ and don't print progress:\n"
" cppcheck --quiet ../myproject/\n"
" # Check only files one.cpp and two.cpp and give all information there is:\n"
" cppcheck -v -a -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"
" cppcheck -I inc1/ -I inc2/ f.cpp\n";
reportOut(oss.str());