2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 06:07:44 +00:00

Remove extra linefeed from table header in 'snapshots'

This commit is contained in:
Alexander Neumann 2014-11-28 00:01:56 +01:00
parent 3e2c9dc267
commit 65c9a78e95

View File

@ -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{}