cmd: Fix text of custom license

Fix #540
This commit is contained in:
Albert Nigmatzianov 2017-10-04 22:36:42 +02:00
parent 0dacccfbaa
commit d5bde60e02

View File

@ -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.