cmdlineparser.cpp: printHelp(): Replace deprecated option in example (#2290)
`--std=posix` is deprecated and will be removed in the future.
See commit cb06aebdab
.
This commit is contained in:
parent
bca1192e61
commit
3e4dd9b354
|
@ -1188,7 +1188,7 @@ void CmdLineParser::printHelp()
|
||||||
" cppcheck --quiet ../myproject/\n"
|
" cppcheck --quiet ../myproject/\n"
|
||||||
"\n"
|
"\n"
|
||||||
" # Check test.cpp, enable all checks:\n"
|
" # Check test.cpp, enable all checks:\n"
|
||||||
" cppcheck --enable=all --inconclusive --std=posix test.cpp\n"
|
" cppcheck --enable=all --inconclusive --library=posix test.cpp\n"
|
||||||
"\n"
|
"\n"
|
||||||
" # Check f.cpp and search include files from inc1/ and inc2/:\n"
|
" # Check f.cpp and search include files from inc1/ and inc2/:\n"
|
||||||
" cppcheck -I inc1/ -I inc2/ f.cpp\n"
|
" cppcheck -I inc1/ -I inc2/ f.cpp\n"
|
||||||
|
|
Loading…
Reference in New Issue