more commane line tidy up

This commit is contained in:
Phil Nash 2010-12-30 18:28:56 +00:00
parent dc53c3a93f
commit c60156ad11
1 changed files with 2 additions and 2 deletions

View File

@ -110,10 +110,10 @@ namespace Catch
{
if( m_args[0] == "tests" )
listSpec = RunnerConfig::listTests;
else if( m_args[0] == "reports" )
else if( m_args[0] == "reporters" )
listSpec = RunnerConfig::listReports;
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 )
{