Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

more commane line tidy up

Commit
c60156ad11330da7f4b12bf58dc6dcd385f63367
Author
Phil Nash ·
Parents
dc53c3a93f82

Files · Download .tar.gz

Changes

 internal/catch_commandline.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/internal/catch_commandline.hpp b/internal/catch_commandline.hpp
index b2f199cd..3c297316 100644
--- a/internal/catch_commandline.hpp
+++ b/internal/catch_commandline.hpp
@@ -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 )
                         {