| 595 | } |
| 596 | |
| 597 | bool ArgsManager::GetBoolArg(const std::string& strArg, bool fDefault) const |
| 598 | { |
| 599 | const util::SettingsValue value = GetSetting(strArg); |
| 600 | return value.isNull() ? fDefault : value.isBool() ? value.get_bool() : InterpretBool(value.get_str()); |
| 601 | } |
| 602 | |
| 603 | bool ArgsManager::SoftSetArg(const std::string& strArg, const std::string& strValue) |
| 604 | { |