Fix two overly long lines in command line help.

This commit is contained in:
Kimmo Varis 2009-01-24 18:24:04 +00:00
parent 8e7ff3bace
commit a0886e693e
1 changed files with 5 additions and 4 deletions

View File

@ -167,15 +167,16 @@ std::string CppCheck::parseFromArgs(int argc, const char* const argv[])
" but there are also more false positives\n"
" -f, --force Force checking on files that have \"too many\" configurations\n"
" -h, --help Print this help\n"
" -I <dir> Give include path. Give several -I parameters to give several\n"
" paths. First given path is checked first. If paths are\n"
" relative to source files, this is not needed.\n"
" -I <dir> Give include path. Give several -I parameters to give\n"
" several paths. First given path is checked first. If paths\n"
" are relative to source files, this is not needed.\n"
" -q, --quiet Only print error messages\n"
" -s, --style Check coding style\n"
" -v, --verbose More detailed error reports\n"
"\n"
"Example usage:\n"
" # Recursively check the current folder. Print the progress on the screen and write errors in a file:\n"
" # 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"
" cppcheck --quiet ../myproject/\n"