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

Remove duplicate CLI option

The "use-colour" option was accidentally duplicated as part of commit
feaf355 (Implemented libidentify support).
Commit
a04bd6d4364069f4341f37606d1ea89150e54f53
Author
Sam Bristow ·
Committer
Martin Hořeňovský
Parents
784f6dfb34ab

Files · Download .tar.gz

Changes

 include/internal/catch_commandline.hpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/internal/catch_commandline.hpp b/include/internal/catch_commandline.hpp
index bdb3f66b..6ea49ebd 100644
--- a/include/internal/catch_commandline.hpp
+++ b/include/internal/catch_commandline.hpp
@@ -224,10 +224,6 @@ namespace Catch {
             .describe( "should output be colourised" )
             .bind( &setUseColour, "yes|no" );
 
-        cli["--use-colour"]
-            .describe( "should output be colourised" )
-            .bind( &setUseColour, "yes|no" );
-
         cli["--libidentify"]
             .describe( "report name and version according to libidentify standard" )
             .bind( &ConfigData::libIdentify );