mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 14:09:26 +00:00
Changed --cutoff to --abort
This commit is contained in:
parent
0f9c551d4d
commit
8d02b9306d
4 changed files with 14 additions and 14 deletions
|
@ -162,7 +162,7 @@ namespace Catch {
|
|||
config.setShowHelp( true );
|
||||
}
|
||||
|
||||
if( Command cmd = parser.find( "-c", "--cutoff" ) ) {
|
||||
if( Command cmd = parser.find( "-a", "--abort" ) ) {
|
||||
if( cmd.argsCount() > 1 )
|
||||
throw std::domain_error( cmd.name() + " only accepts 0-1 arguments" );
|
||||
int threshold = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue