mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-09-01 08:10:39 +00:00
describe multiple sources
This commit is contained in:
@@ -81,8 +81,11 @@ func (c *Config) Describe() {
|
||||
var tmp string
|
||||
colors.PrimaryPrint(`Location: "%s"`, name)
|
||||
|
||||
// TODO: Add more info
|
||||
// colors.PrintDescription("From", l.From)
|
||||
tmp = ""
|
||||
for _, path := range l.From {
|
||||
tmp += fmt.Sprintf("\t%s %s\n", colors.Success.Sprint("←"), path)
|
||||
}
|
||||
colors.PrintDescription("From", tmp)
|
||||
|
||||
tmp = ""
|
||||
for _, to := range l.To {
|
||||
|
Reference in New Issue
Block a user