From 109758131a66cd5b65457ddebf47ee856ea35957 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Tue, 7 Jun 2016 07:16:35 +0100 Subject: [PATCH] Removed deprecated --force-colour option --- include/internal/catch_commandline.hpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/internal/catch_commandline.hpp b/include/internal/catch_commandline.hpp index 6926559a..9497a969 100644 --- a/include/internal/catch_commandline.hpp +++ b/include/internal/catch_commandline.hpp @@ -74,9 +74,6 @@ namespace Catch { else throw std::runtime_error( "colour mode must be one of: auto, yes or no" ); } - inline void forceColour( ConfigData& config ) { - config.useColour = UseColour::Yes; - } inline void loadTestNamesFromFile( ConfigData& config, std::string const& _filename ) { std::ifstream f( _filename.c_str() ); if( !f.is_open() ) @@ -189,10 +186,6 @@ namespace Catch { cli["--rng-seed"] .describe( "set a specific seed for random numbers" ) .bind( &setRngSeed, "'time'|number" ); - - cli["--force-colour"] - .describe( "force colourised output (deprecated)" ) - .bind( &forceColour ); cli["--use-colour"] .describe( "should output be colourised" )