cmdlineparser: use given settings

This commit is contained in:
Daniel Marjamäki 2010-09-06 22:35:30 +02:00
parent c0d1bfeedf
commit fed198aafb
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ bool CppCheckExecutor::parseFromArgs(CppCheck *cppcheck, int argc, const char* c
{ {
CmdLineParser parser(&_settings); CmdLineParser parser(&_settings);
bool success = parser.ParseFromArgs(argc, argv); bool success = parser.ParseFromArgs(argc, argv);
cppcheck->settings(_settings); // copy the settings
if (success) if (success)
{ {