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

View File

@ -138,8 +138,7 @@ namespace Catch {
<< "\nError(s) in input:\n" << "\nError(s) in input:\n"
<< Column( result.errorMessage() ).indent( 2 ) << Column( result.errorMessage() ).indent( 2 )
<< "\n\n"; << "\n\n";
Catch::cerr() << "Run with -? for usage\n" << std::endl;
Catch::cerr() << m_cli << std::endl;
return MaxExitCode; return MaxExitCode;
} }