Added the pflags register to the debug output

This commit is contained in:
Kiril Zvezdarov 2015-04-01 21:39:09 -04:00
parent 24dd877ad7
commit 19ed496472
1 changed files with 2 additions and 0 deletions

View File

@ -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)
} }