| 7471 | }; |
| 7472 | |
| 7473 | inline auto normaliseOpt( std::string const &optName ) -> std::string { |
| 7474 | #ifdef CATCH_PLATFORM_WINDOWS |
| 7475 | if( optName[0] == '/' ) |
| 7476 | return "-" + optName.substr( 1 ); |
| 7477 | else |
| 7478 | #endif |
| 7479 | return optName; |
| 7480 | } |
| 7481 | |
| 7482 | class Opt : public ParserRefImpl<Opt> { |
| 7483 | protected: |