diff --git a/src/util/system.cpp b/src/util/system.cpp index c7e342a59e6..f8fcbc12062 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -282,7 +282,10 @@ public: * options that are not normally boolean (e.g. using -nodebuglogfile to request * that debug log output is not sent to any file at all). */ -static void InterpretOption(std::string key, std::string val, std::map>& args) + +NODISCARD static bool InterpretOption(std::string key, std::string val, unsigned int flags, + std::map>& args, + std::string& error) { assert(key[0] == '-'); @@ -293,18 +296,22 @@ static void InterpretOption(std::string key, std::string val, std::map