From a988af219c6e02ee494b0bfe2775e027cd8a94ad Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Tue, 15 Aug 2017 17:08:32 +0100 Subject: [PATCH] No longer show full usage in event of error (it obscures the error message) - instead just suggests running with -? to see usage --- include/catch_session.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/catch_session.hpp b/include/catch_session.hpp index fb1eb8a5..1968cb2f 100644 --- a/include/catch_session.hpp +++ b/include/catch_session.hpp @@ -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; }