mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 11:12:25 +01:00
Removed deprecated --force-colour option
This commit is contained in:
parent
8a102bd13c
commit
109758131a
@ -74,9 +74,6 @@ namespace Catch {
|
|||||||
else
|
else
|
||||||
throw std::runtime_error( "colour mode must be one of: auto, yes or no" );
|
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 ) {
|
inline void loadTestNamesFromFile( ConfigData& config, std::string const& _filename ) {
|
||||||
std::ifstream f( _filename.c_str() );
|
std::ifstream f( _filename.c_str() );
|
||||||
if( !f.is_open() )
|
if( !f.is_open() )
|
||||||
@ -189,10 +186,6 @@ namespace Catch {
|
|||||||
cli["--rng-seed"]
|
cli["--rng-seed"]
|
||||||
.describe( "set a specific seed for random numbers" )
|
.describe( "set a specific seed for random numbers" )
|
||||||
.bind( &setRngSeed, "'time'|number" );
|
.bind( &setRngSeed, "'time'|number" );
|
||||||
|
|
||||||
cli["--force-colour"]
|
|
||||||
.describe( "force colourised output (deprecated)" )
|
|
||||||
.bind( &forceColour );
|
|
||||||
|
|
||||||
cli["--use-colour"]
|
cli["--use-colour"]
|
||||||
.describe( "should output be colourised" )
|
.describe( "should output be colourised" )
|
||||||
|
Loading…
Reference in New Issue
Block a user