Tweak message. --std=posix will be deprecated in 2.05

This commit is contained in:
Daniel Marjamäki 2020-04-19 21:25:20 +02:00
parent 219180b00a
commit 5626d22835
1 changed files with 1 additions and 1 deletions

View File

@ -638,7 +638,7 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
// --std // --std
else if (std::strcmp(argv[i], "--std=posix") == 0) { else if (std::strcmp(argv[i], "--std=posix") == 0) {
printMessage("cppcheck: Option --std=posix is deprecated and will be removed in 1.95."); printMessage("cppcheck: Option --std=posix is deprecated and will be removed in 2.05.");
} else if (std::strcmp(argv[i], "--std=c89") == 0) { } else if (std::strcmp(argv[i], "--std=c89") == 0) {
mSettings->standards.c = Standards::C89; mSettings->standards.c = Standards::C89;
} else if (std::strcmp(argv[i], "--std=c99") == 0) { } else if (std::strcmp(argv[i], "--std=c99") == 0) {