Log config file paths after the --config one is added
This commit is contained in:
		
							parent
							
								
									735d314a19
								
							
						
					
					
						commit
						3d25441e7a
					
				@ -129,15 +129,15 @@ func (this *environment) phase30ConfigurationParsing() bool {
 | 
			
		||||
		log.Println("!!! (30) could not determine location of file(s):", err)
 | 
			
		||||
		return true
 | 
			
		||||
	}
 | 
			
		||||
	if this.flags.configFile != "" {
 | 
			
		||||
		paths = append(paths, this.flags.configFile)
 | 
			
		||||
	}
 | 
			
		||||
	if this.Verb() {
 | 
			
		||||
		log.Println("(i) (30) have configuration files:")
 | 
			
		||||
		for _, paths := range paths {
 | 
			
		||||
			log.Println("(i) (30) -", paths)
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	if this.flags.configFile != "" {
 | 
			
		||||
		paths = append(paths, this.flags.configFile)
 | 
			
		||||
	}
 | 
			
		||||
	// parse every config and merge them all
 | 
			
		||||
	configs := make([]iniConfig, 0, len(paths))
 | 
			
		||||
	for _, path := range paths {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user