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
1 changed files with 2 additions and 0 deletions

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