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" "Options:\n"
" --append=<file> This allows you to provide information about\n" " --append=<file> This allows you to provide information about\n"
" functions by providing an implementation for these.\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" " -D<ID> By default Cppcheck checks all configurations.\n"
" Use -D to limit the checking. When -D is used the\n" " Use -D to limit the checking. When -D is used the\n"
" checking is limited to the given configuration.\n" " checking is limited to the given configuration.\n"
" Example: -DDEBUG=1 -D__cplusplus\n" " Example: -DDEBUG=1 -D__cplusplus\n"
" --enable=<id> Enable additional checks. The available ids are:\n" " --enable=<id> Enable additional checks. The available ids are:\n"
" * all - enable all checks\n" " * all\n"
" * style - Check coding style\n" " Enable all checks\n"
" * information - Enable information messages\n" " * style\n"
" * unusedFunction - check for unused functions\n" " Check coding style\n"
" * missingInclude - check for missing includes\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" " Several ids can be given if you separate them with\n"
" commas.\n" " commas.\n"
" --error-exitcode=<n> If errors are found, integer [n] is returned instead\n" " --error-exitcode=<n> If errors are found, integer [n] is returned instead\n"