|  | @@ -38,7 +38,7 @@ int Options::validateStringOption( int argc, char** argv, int argumentIndex ) {
 | 
	
		
			
			| 38 | 38 |              }
 | 
	
		
			
			| 39 | 39 |              if ( i == check.name.length()-1 ) {
 | 
	
		
			
			| 40 | 40 |                  if ( !check.isFlagArgument && argument.find("=") == std::string::npos ) {
 | 
	
		
			
			| 41 |  | -                    throw new std::invalid_argument("Expected `=` after " + arguments[i]);
 | 
	
		
			
			|  | 41 | +                    throw new std::invalid_argument("Expected `=` after " + argument);
 | 
	
		
			
			| 42 | 42 |                  }
 | 
	
		
			
			| 43 | 43 |                  if ( check.isFlagArgument && i+3 != argument.length() ) {
 | 
	
		
			
			| 44 | 44 |                      throw new std::invalid_argument("Trailing characters on flag " + argument );
 |