From df39016e58a05be51bc988154d10cbb6d96f2c18 Mon Sep 17 00:00:00 2001 From: Andrew Raines Date: Mon, 23 Dec 2013 13:46:16 -0600 Subject: [PATCH] Add column separator for help output. --- .../org/elasticsearch/rest/action/cat/AbstractCatAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/rest/action/cat/AbstractCatAction.java b/src/main/java/org/elasticsearch/rest/action/cat/AbstractCatAction.java index 33da1e1aec7..24fcb26eccb 100644 --- a/src/main/java/org/elasticsearch/rest/action/cat/AbstractCatAction.java +++ b/src/main/java/org/elasticsearch/rest/action/cat/AbstractCatAction.java @@ -49,7 +49,7 @@ public abstract class AbstractCatAction extends BaseRestHandler { for (Table.Cell cell : table.getHeaders()) { // need to do left-align always, so create new cells pad(new Table.Cell(cell.value), width[0], request, out); - out.append(" "); + out.append(" | "); pad(new Table.Cell(cell.attr.containsKey("desc") ? cell.attr.get("desc") : "not available"), width[1], request, out); out.append("\n"); }