Fixed #3292 (Error in --suppressions-list silently ignores all subsequent command line options)
This commit is contained in:
parent
e989af3fd5
commit
4c3283738b
|
@ -68,7 +68,9 @@ bool CppCheckExecutor::parseFromArgs(CppCheck *cppcheck, int argc, const char* c
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parser.ExitAfterPrinting())
|
if (parser.ExitAfterPrinting())
|
||||||
std::exit(0);
|
std::exit(EXIT_SUCCESS);
|
||||||
|
} else {
|
||||||
|
std::exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check that all include paths exist
|
// Check that all include paths exist
|
||||||
|
|
Loading…
Reference in New Issue