mirror of
https://github.com/octoleo/restic.git
synced 2024-12-25 12:09:59 +00:00
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.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"
|
||||
|
||||
list := []*khepri.Snapshot{}
|
||||
|
Loading…
Reference in New Issue
Block a user