| 5943 | }; |
| 5944 | |
| 5945 | inline auto normaliseOpt(std::string const &optName) -> std::string { |
| 5946 | #ifdef CATCH_PLATFORM_WINDOWS |
| 5947 | if (optName[0] == '/') |
| 5948 | return "-" + optName.substr(1); |
| 5949 | else |
| 5950 | #endif |
| 5951 | return optName; |
| 5952 | } |
| 5953 | |
| 5954 | class Opt : public ParserRefImpl<Opt> { |
| 5955 | protected: |