diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-05-21 10:52:46 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-05-21 10:53:09 +0200 |
commit | fa9f711c3746ca3962f15224285a453744cd45b3 (patch) | |
tree | 8faf1943a028f28dd20199570c32090db9e77eff /src/util/system.cpp | |
parent | eb4df9a628bdcdd1333c7fa4fb23c73df9642902 (diff) |
Fix crash when parsing command line with -noincludeconf=0
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r-- | src/util/system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp index 9b3bd46b38..00cbca1c36 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -369,7 +369,7 @@ bool ArgsManager::ParseParameters(int argc, const char* const argv[], std::strin bool success = true; if (auto* includes = util::FindKey(m_settings.command_line_options, "includeconf")) { for (const auto& include : util::SettingsSpan(*includes)) { - error += "-includeconf cannot be used from commandline; -includeconf=" + include.get_str() + "\n"; + error += "-includeconf cannot be used from commandline; -includeconf=" + include.write() + "\n"; success = false; } } |