mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-30 19:57:10 +01:00 
			
		
		
		
	Clara: added -r option
This commit is contained in:
		| @@ -531,6 +531,7 @@ struct Config { | ||||
|     std::string reporterName; | ||||
|     std::string fileName; | ||||
|     std::string suiteName; | ||||
|     std::string reporter; | ||||
|     std::vector<std::string> warnings; | ||||
|     std::vector<std::string> testsOrTags; | ||||
|      | ||||
| @@ -581,6 +582,12 @@ TEST_CASE( "growing new Catch cli" ) { | ||||
|         .longOpt( "out" ) | ||||
|         .argName( "file name" ); | ||||
|  | ||||
|     cli.bind( &Config::reporter ) | ||||
|         .describe( "e.g. console | xml | junit" ) | ||||
|         .shortOpt( "r") | ||||
|         .longOpt( "reporter" ) | ||||
|         .argName( "reporter name[:filename]" ); | ||||
|  | ||||
|     cli.bind( &Config::suiteName ) | ||||
|         .describe( "suite name" ) | ||||
|         .shortOpt( "n") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash