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:
Phil Nash 2017-08-15 17:08:32 +01:00
parent 74dfd0b1e0
commit a988af219c
1 changed files with 1 additions and 2 deletions

View File

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