cmdlineparser: use given settings
This commit is contained in:
parent
c0d1bfeedf
commit
fed198aafb
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue