| 526 | } |
| 527 | |
| 528 | std::string ArgsManager::GetArg(const std::string& strArg, const std::string& strDefault) const |
| 529 | { |
| 530 | if (IsArgNegated(strArg)) return "0"; |
| 531 | std::pair<bool,std::string> found_res = ArgsManagerHelper::GetArg(*this, strArg); |
| 532 | if (found_res.first) return found_res.second; |
| 533 | return strDefault; |
| 534 | } |
| 535 | |
| 536 | int64_t ArgsManager::GetArg(const std::string& strArg, int64_t nDefault) const |
| 537 | { |