mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	No longer show full usage in event of error
(it obscures the error message) - instead just suggests running with -? to see usage
This commit is contained in:
		| @@ -138,8 +138,7 @@ namespace Catch { | ||||
|                     << "\nError(s) in input:\n" | ||||
|                     << Column( result.errorMessage() ).indent( 2 ) | ||||
|                     << "\n\n"; | ||||
|  | ||||
|                 Catch::cerr() << m_cli << std::endl; | ||||
|                 Catch::cerr() << "Run with -? for usage\n" << std::endl; | ||||
|                 return MaxExitCode; | ||||
|             } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash