----------------------------------------------------------------------------
| 184 | |
| 185 | //---------------------------------------------------------------------------- |
| 186 | std::pair<fs::path, boost::optional<fs::path>> |
| 187 | ExtractUnifiedDiffOption(const std::string& option) |
| 188 | { |
| 189 | auto pos = option.find(OptionsParser::PathSeparator); |
| 190 | |
| 191 | if (pos == std::string::npos) |
| 192 | return {option, boost::none}; |
| 193 | |
| 194 | return {option.substr(0, pos), fs::path{option.substr(pos + 1)}}; |
| 195 | } |
| 196 | |
| 197 | //---------------------------------------------------------------------------- |
| 198 | void AddUnifiedDiff(const ProgramOptionsVariablesMap& variablesMap, |