diff --git a/cmd/restic/cmd_snapshots.go b/cmd/restic/cmd_snapshots.go index e456514c3..4655bb928 100644 --- a/cmd/restic/cmd_snapshots.go +++ b/cmd/restic/cmd_snapshots.go @@ -195,7 +195,7 @@ func PrintSnapshots(stdout io.Writer, list restic.Snapshots, reasons []restic.Ke data.Reasons = keepReasons[*id].Matches } - if len(sn.Paths) > 1 { + if len(sn.Paths) > 1 && !compact { multiline = true }