| 96 | } |
| 97 | |
| 98 | utils::optional<std::string> Arguments::get(const std::string &key) const { |
| 99 | return getArg(key) | utils::flatMap([&] (const Argument& arg) {return get(arg);}); |
| 100 | } |
| 101 | |
| 102 | utils::optional<std::string> Arguments::get(const Argument& arg) const { |
| 103 | for (const auto& name : arg.names) { |