mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 08:16:25 +00:00
describe multiple sources
This commit is contained in:
parent
6817f494ef
commit
bcfc734cd1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user