diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/system.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp index a3f21f0162..5f30136fa2 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -428,6 +428,14 @@ bool ArgsManager::ReadSettingsFile(std::vector<std::string>* errors) SaveErrors(read_errors, errors); return false; } + for (const auto& setting : m_settings.rw_settings) { + std::string section; + std::string key = setting.first; + (void)InterpretOption(section, key, /* value */ {}); // Split setting key into section and argname + if (!GetArgFlags('-' + key)) { + LogPrintf("Ignoring unknown rw_settings value %s\n", setting.first); + } + } return true; } |