pass env of backends to restic

This commit is contained in:
2021-04-17 13:04:40 +02:00
parent b314912821
commit 276c424106
3 changed files with 14 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ func (c *Config) Describe() {
if len(b.Env) > 0 {
tmp := ""
for option, value := range b.Env {
tmp += fmt.Sprintf("\n\t%s %s %s", colors.Success.Sprint("✧"), option, colors.Faint.Sprint(value))
tmp += fmt.Sprintf("\n\t%s %s %s", colors.Success.Sprint("✧"), strings.ToUpper(option), colors.Faint.Sprint(value))
}
colors.PrintDescription("Env", tmp)
}