Skip to content

Commit

Permalink
append line separator in correct spot
Browse files Browse the repository at this point in the history
  • Loading branch information
corylanou committed Mar 12, 2015
1 parent 00437b6 commit 5ce7307
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/influx/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,10 @@ func (c *CommandLine) formatResults(result client.Result, separator string) []st
values = append(values, interfaceToString(vv))
}
rows = append(rows, strings.Join(values, separator))
// Outout a line separator if in column format
if c.Format == "column" {
rows = append(rows, "")
}
}
// Outout a line separator if in column format
if c.Format == "column" {
rows = append(rows, "")
}
}
return rows
Expand Down

0 comments on commit 5ce7307

Please sign in to comment.