Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

No longer show full usage in event of error

(it obscures the error message)
- instead just suggests running with -? to see usage
Commit
a988af219c6e02ee494b0bfe2775e027cd8a94ad
Author
Phil Nash ·
Parents
74dfd0b1e088

Files · Download .tar.gz

Changes

 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;
             }