Some Clara/ command line clean-up and tweaks
This commit is contained in:
parent
f41fad7e20
commit
1870ca8455
4 changed files with 35 additions and 34 deletions
|
@ -150,11 +150,12 @@ namespace Catch {
|
|||
m_config.reset();
|
||||
}
|
||||
catch( std::exception& ex ) {
|
||||
std::cerr << "\nError in input:\n"
|
||||
<< Text( ex.what(), TextAttributes()
|
||||
.setInitialIndent(2)
|
||||
.setIndent(4) )
|
||||
<< "\n\n";
|
||||
{
|
||||
Colour colourGuard( Colour::Red );
|
||||
std::cerr << "\nError in input:\n"
|
||||
<< Text( ex.what(), TextAttributes().setIndent(2) )
|
||||
<< "\n\n";
|
||||
}
|
||||
m_cli.usage( std::cout, m_configData.processName );
|
||||
return (std::numeric_limits<int>::max)();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue