update help screen about --check-includes

This commit is contained in:
Daniel Marjamäki 2011-05-02 18:49:40 +02:00
parent bbd379c802
commit d7927bbb61
1 changed files with 14 additions and 5 deletions

View File

@ -647,16 +647,25 @@ void CmdLineParser::PrintHelp()
"Options:\n"
" --append=<file> This allows you to provide information about\n"
" functions by providing an implementation for these.\n"
" --check-includes Check for missing includes. This option is used to\n"
" determine if the cppcheck configuration is ok. No\n"
" code analysis is done during this check.\n"
" -D<ID> By default Cppcheck checks all configurations.\n"
" Use -D to limit the checking. When -D is used the\n"
" checking is limited to the given configuration.\n"
" Example: -DDEBUG=1 -D__cplusplus\n"
" --enable=<id> Enable additional checks. The available ids are:\n"
" * all - enable all checks\n"
" * style - Check coding style\n"
" * information - Enable information messages\n"
" * unusedFunction - check for unused functions\n"
" * missingInclude - check for missing includes\n"
" * all\n"
" Enable all checks\n"
" * style\n"
" Check coding style\n"
" * information\n"
" Enable information messages\n"
" * unusedFunction\n"
" Check for unused functions\n"
" * missingInclude\n"
" Warn if there are missing includes.\n"
" See also: --check-includes\n"
" Several ids can be given if you separate them with\n"
" commas.\n"
" --error-exitcode=<n> If errors are found, integer [n] is returned instead\n"