Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2017-08-15 17:08:32 +0100
committerPhil Nash2017-08-15 17:08:32 +0100
commita988af219c6e02ee494b0bfe2775e027cd8a94ad (patch)
treec79f124fc506d5407b9c17ca8ea34fab877f69ad /include
parent74dfd0b1e08861f718bfbe1d9bc0e34a70d8b1f0 (diff)
downloadcatch3-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.hpp3
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;
}