Added the pflags register to the debug output

This commit is contained in:
Kiril Zvezdarov 2015-04-01 21:39:09 -04:00
parent 2ef7a4a18b
commit 590bfb59e5

View file

@ -810,4 +810,6 @@ func (v *Viper) Debug() {
pretty.Println(v.override)
fmt.Println("Aliases:")
pretty.Println(v.aliases)
fmt.Println("PFlags")
pretty.Println(v.pflags)
}