From a4e3f46f1ea82c29e511009827a53c9ac8a0a39a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Mun=CC=83oz?= Date: Wed, 6 Sep 2017 11:58:05 -0700 Subject: [PATCH] Operate on the actual parameter rather than its name --- cobra/cmd/licenses.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cobra/cmd/licenses.go b/cobra/cmd/licenses.go index cf2a6b7a..a070134d 100644 --- a/cobra/cmd/licenses.go +++ b/cobra/cmd/licenses.go @@ -63,7 +63,7 @@ func getLicense() License { // If user wants to have custom license, use that. if viper.IsSet("license.header") || viper.IsSet("license.text") { return License{Header: viper.GetString("license.header"), - Text: "license.text"} + Text: viper.GetString("license.text")} } // If user wants to have built-in license, use that.