diff --git a/cli/cppcheckexecutor.cpp b/cli/cppcheckexecutor.cpp index df94136db..148ad1aba 100644 --- a/cli/cppcheckexecutor.cpp +++ b/cli/cppcheckexecutor.cpp @@ -39,6 +39,7 @@ bool CppCheckExecutor::parseFromArgs(CppCheck *cppcheck, int argc, const char* c { CmdLineParser parser(&_settings); bool success = parser.ParseFromArgs(argc, argv); + cppcheck->settings(_settings); // copy the settings if (success) {