mirror of https://github.com/restic/restic.git
Remove extra linefeed from table header in 'snapshots'
This commit is contained in:
parent
3e2c9dc267
commit
65c9a78e95
|
@ -83,7 +83,7 @@ func commandSnapshots(be backend.Server, key *khepri.Key, args []string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
tab := NewTable()
|
tab := NewTable()
|
||||||
tab.Header = fmt.Sprintf("%-8s %-19s %-10s %s\n", "ID", "Date", "Source", "Directory")
|
tab.Header = fmt.Sprintf("%-8s %-19s %-10s %s", "ID", "Date", "Source", "Directory")
|
||||||
tab.RowFormat = "%-8s %-19s %-10s %s"
|
tab.RowFormat = "%-8s %-19s %-10s %s"
|
||||||
|
|
||||||
list := []*khepri.Snapshot{}
|
list := []*khepri.Snapshot{}
|
||||||
|
|
Loading…
Reference in New Issue