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:
Sebastian 2019-10-22 15:07:30 +02:00 committed by GitHub
parent bca1192e61
commit 3e4dd9b354
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1188,7 +1188,7 @@ void CmdLineParser::printHelp()
" cppcheck --quiet ../myproject/\n"
"\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"
" # Check f.cpp and search include files from inc1/ and inc2/:\n"
" cppcheck -I inc1/ -I inc2/ f.cpp\n"