mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
more commane line tidy up
This commit is contained in:
parent
dc53c3a93f
commit
c60156ad11
@ -110,10 +110,10 @@ namespace Catch
|
|||||||
{
|
{
|
||||||
if( m_args[0] == "tests" )
|
if( m_args[0] == "tests" )
|
||||||
listSpec = RunnerConfig::listTests;
|
listSpec = RunnerConfig::listTests;
|
||||||
else if( m_args[0] == "reports" )
|
else if( m_args[0] == "reporters" )
|
||||||
listSpec = RunnerConfig::listReports;
|
listSpec = RunnerConfig::listReports;
|
||||||
else
|
else
|
||||||
return setErrorMode( m_command + " expected [tests] or [reports] but recieved: [" + m_args[0] + "]" );
|
return setErrorMode( m_command + " expected [tests] or [reporters] but recieved: [" + m_args[0] + "]" );
|
||||||
}
|
}
|
||||||
if( m_args.size() >= 2 )
|
if( m_args.size() >= 2 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user