Fix two overly long lines in command line help.
This commit is contained in:
parent
8e7ff3bace
commit
a0886e693e
|
@ -167,15 +167,16 @@ std::string CppCheck::parseFromArgs(int argc, const char* const argv[])
|
||||||
" but there are also more false positives\n"
|
" but there are also more false positives\n"
|
||||||
" -f, --force Force checking on files that have \"too many\" configurations\n"
|
" -f, --force Force checking on files that have \"too many\" configurations\n"
|
||||||
" -h, --help Print this help\n"
|
" -h, --help Print this help\n"
|
||||||
" -I <dir> Give include path. Give several -I parameters to give several\n"
|
" -I <dir> Give include path. Give several -I parameters to give\n"
|
||||||
" paths. First given path is checked first. If paths are\n"
|
" several paths. First given path is checked first. If paths\n"
|
||||||
" relative to source files, this is not needed.\n"
|
" are relative to source files, this is not needed.\n"
|
||||||
" -q, --quiet Only print error messages\n"
|
" -q, --quiet Only print error messages\n"
|
||||||
" -s, --style Check coding style\n"
|
" -s, --style Check coding style\n"
|
||||||
" -v, --verbose More detailed error reports\n"
|
" -v, --verbose More detailed error reports\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Example usage:\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"
|
" cppcheck . 2> err.txt\n"
|
||||||
" # Recursively check ../myproject/ and print only most fatal errors:\n"
|
" # Recursively check ../myproject/ and print only most fatal errors:\n"
|
||||||
" cppcheck --quiet ../myproject/\n"
|
" cppcheck --quiet ../myproject/\n"
|
||||||
|
|
Loading…
Reference in New Issue