mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Removed redundant processName argument from libIdentify call
This commit is contained in:
		@@ -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 ) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user