From d5bde60e022436203e377c47806e001418c16af3 Mon Sep 17 00:00:00 2001 From: Albert Nigmatzianov Date: Wed, 4 Oct 2017 22:36:42 +0200 Subject: [PATCH] cmd: Fix text of custom license Fix #540 --- 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 cf2a6b7..a070134 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.