From 65c9a78e9563428777eb248bc11cf6f6f7b8462b Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Fri, 28 Nov 2014 00:01:56 +0100 Subject: [PATCH] Remove extra linefeed from table header in 'snapshots' --- cmd/khepri/cmd_snapshots.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/khepri/cmd_snapshots.go b/cmd/khepri/cmd_snapshots.go index 403ad6fd8..5cec0e195 100644 --- a/cmd/khepri/cmd_snapshots.go +++ b/cmd/khepri/cmd_snapshots.go @@ -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{}