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
1 changed files with 1 additions and 1 deletions

View File

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