From fed198aafb69356d0c22b0b9e047694f09dc847f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 6 Sep 2010 22:35:30 +0200 Subject: [PATCH] cmdlineparser: use given settings --- cli/cppcheckexecutor.cpp | 1 + 1 file changed, 1 insertion(+) 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) {