From 590bfb59e556740b99e43be3f1c624414c876bd4 Mon Sep 17 00:00:00 2001 From: Kiril Zvezdarov Date: Wed, 1 Apr 2015 21:39:09 -0400 Subject: [PATCH] Added the pflags register to the debug output --- viper.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/viper.go b/viper.go index f1b7eec..094c1b6 100644 --- a/viper.go +++ b/viper.go @@ -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) }