This commit is contained in:
parent
c985c39018
commit
3f3fc3d232
|
@ -474,12 +474,15 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[])
|
||||||
_ignoredPaths.push_back(path);
|
_ignoredPaths.push_back(path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// --library
|
// --library
|
||||||
else if (std::strncmp(argv[i], "--library=", 10) == 0) {
|
else if (std::strncmp(argv[i], "--library=", 10) == 0) {
|
||||||
if (!CppCheckExecutor::tryLoadLibrary(_settings->library, argv[0], argv[i]+10))
|
if (!CppCheckExecutor::tryLoadLibrary(_settings->library, argv[0], argv[i]+10))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
// experimental --project
|
||||||
|
else if (std::strncmp(argv[i], "--project=", 10) == 0) {
|
||||||
|
_settings.project(argv[i]+10);
|
||||||
|
}
|
||||||
|
|
||||||
// Report progress
|
// Report progress
|
||||||
else if (std::strcmp(argv[i], "--report-progress") == 0) {
|
else if (std::strcmp(argv[i], "--report-progress") == 0) {
|
||||||
|
|
Loading…
Reference in New Issue