Print out all config file paths on startup
This commit is contained in:
parent
861d6af1d7
commit
461d0b77e9
@ -129,6 +129,12 @@ func (this *environment) phase30ConfigurationParsing() bool {
|
|||||||
log.Println("!!! (30) could not determine location of file(s):", err)
|
log.Println("!!! (30) could not determine location of file(s):", err)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if this.Verb() {
|
||||||
|
log.Println("(i) (30) have configuration files:")
|
||||||
|
for _, paths := range paths {
|
||||||
|
log.Println("(i) (30) -", paths)
|
||||||
|
}
|
||||||
|
}
|
||||||
if this.flags.configFile != "" {
|
if this.flags.configFile != "" {
|
||||||
paths = append(paths, this.flags.configFile)
|
paths = append(paths, this.flags.configFile)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user