mirror of
https://github.com/spf13/viper
synced 2024-11-04 20:27:02 +00:00
Added the pflags register to the debug output
This commit is contained in:
parent
24dd877ad7
commit
19ed496472
1 changed files with 2 additions and 0 deletions
2
viper.go
2
viper.go
|
@ -876,4 +876,6 @@ func (v *Viper) Debug() {
|
||||||
pretty.Println(v.override)
|
pretty.Println(v.override)
|
||||||
fmt.Println("Aliases:")
|
fmt.Println("Aliases:")
|
||||||
pretty.Println(v.aliases)
|
pretty.Println(v.aliases)
|
||||||
|
fmt.Println("PFlags")
|
||||||
|
pretty.Println(v.pflags)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue