| 9046 | }; |
| 9047 | |
| 9048 | inline auto normaliseOpt( std::string const &optName ) -> std::string { |
| 9049 | #ifdef CATCH_PLATFORM_WINDOWS |
| 9050 | if( optName[0] == '/' ) |
| 9051 | return "-" + optName.substr( 1 ); |
| 9052 | else |
| 9053 | #endif |
| 9054 | return optName; |
| 9055 | } |
| 9056 | |
| 9057 | class Opt : public ParserRefImpl<Opt> { |
| 9058 | protected: |