Removed redundant processName argument from libIdentify call

This commit is contained in:
Phil Nash 2017-08-11 22:03:09 +01:00
parent feaf355489
commit 7fa5d9ca94

View File

@ -134,7 +134,7 @@ namespace Catch {
m_cli.usage( Catch::cout(), processName ); m_cli.usage( Catch::cout(), processName );
Catch::cout() << "For more detail usage please see the project docs\n" << std::endl; Catch::cout() << "For more detail usage please see the project docs\n" << std::endl;
} }
void libIdentify( std::string const& processName ) { void libIdentify() {
Catch::cout() Catch::cout()
<< std::left << std::setw(16) << "description: " << "A Catch test executable\n" << std::left << std::setw(16) << "description: " << "A Catch test executable\n"
<< std::left << std::setw(16) << "category: " << "testframework\n" << std::left << std::setw(16) << "category: " << "testframework\n"
@ -150,7 +150,7 @@ namespace Catch {
if( m_configData.showHelp ) if( m_configData.showHelp )
showHelp( m_configData.processName ); showHelp( m_configData.processName );
if( m_configData.libIdentify ) if( m_configData.libIdentify )
libIdentify( m_configData.processName ); libIdentify();
m_config.reset(); m_config.reset();
} }
catch( std::exception& ex ) { catch( std::exception& ex ) {