diff options
| author | Phil Nash | 2017-08-15 17:08:32 +0100 |
|---|---|---|
| committer | Phil Nash | 2017-08-15 17:08:32 +0100 |
| commit | a988af219c6e02ee494b0bfe2775e027cd8a94ad (patch) | |
| tree | c79f124fc506d5407b9c17ca8ea34fab877f69ad /include | |
| parent | 74dfd0b1e08861f718bfbe1d9bc0e34a70d8b1f0 (diff) | |
| download | catch3-a988af219c6e02ee494b0bfe2775e027cd8a94ad.tar.gz | |
No longer show full usage in event of error
(it obscures the error message)
- instead just suggests running with -? to see usage
Diffstat (limited to 'include')
| -rw-r--r-- | include/catch_session.hpp | 3 |
1 files changed, 1 insertions, 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; } |