| 542 | } |
| 543 | |
| 544 | bool ArgsManager::GetBoolArg(const std::string& strArg, bool fDefault) const |
| 545 | { |
| 546 | if (IsArgNegated(strArg)) return false; |
| 547 | std::pair<bool,std::string> found_res = ArgsManagerHelper::GetArg(*this, strArg); |
| 548 | if (found_res.first) return InterpretBool(found_res.second); |
| 549 | return fDefault; |
| 550 | } |
| 551 | |
| 552 | bool ArgsManager::SoftSetArg(const std::string& strArg, const std::string& strValue) |
| 553 | { |