| 158 | } |
| 159 | continue; |
| 160 | } |
| 161 | match = OptionMatch{std::string(key), it->second}; |
| 162 | } |
| 163 | } |
| 164 | return match; |
| 165 | } |
| 166 | |
| 167 | std::optional<std::string> find_option( |
| 168 | const std::unordered_map<std::string, std::string> & options, |
| 169 | std::initializer_list<std::string_view> keys) { |
| 170 | const auto match = find_option_match(options, keys); |
no test coverage detected