Visitar URL original
cmdlineparser.cpp: printHelp(): Replace deprecated option in example … · napcode/cppcheck@3e4dd9b · GitHub
Skip to content

Commit 3e4dd9b

Browse files
authored
cmdlineparser.cpp: printHelp(): Replace deprecated option in example (cppcheck-opensource#2290)
`--std=posix` is deprecated and will be removed in the future. See commit cb06aeb.
1 parent bca1192 commit 3e4dd9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cli/cmdlineparser.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ void CmdLineParser::printHelp()
11881188
" cppcheck --quiet ../myproject/\n"
11891189
"\n"
11901190
" # Check test.cpp, enable all checks:\n"
1191-
" cppcheck --enable=all --inconclusive --std=posix test.cpp\n"
1191+
" cppcheck --enable=all --inconclusive --library=posix test.cpp\n"
11921192
"\n"
11931193
" # Check f.cpp and search include files from inc1/ and inc2/:\n"
11941194
" cppcheck -I inc1/ -I inc2/ f.cpp\n"

0 commit comments

Comments
 (0)