| 6141 | }; |
| 6142 | |
| 6143 | inline auto normaliseOpt( std::string const &optName ) -> std::string { |
| 6144 | #ifdef CATCH_PLATFORM_WINDOWS |
| 6145 | if( optName[0] == '/' ) |
| 6146 | return "-" + optName.substr( 1 ); |
| 6147 | else |
| 6148 | #endif |
| 6149 | return optName; |
| 6150 | } |
| 6151 | |
| 6152 | class Opt : public ParserRefImpl<Opt> { |
| 6153 | protected: |