mirror of
https://github.com/spf13/viper
synced 2025-05-06 12:17:18 +00:00
Added the pflags register to the debug output
This commit is contained in:
parent
2ef7a4a18b
commit
590bfb59e5
1 changed files with 2 additions and 0 deletions
2
viper.go
2
viper.go
|
@ -810,4 +810,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…
Add table
Reference in a new issue