From 61ee94a0e41d5d5f3cb6a3b3ae03f21018e97d9c Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 20 Mar 2017 09:09:00 -0400 Subject: [PATCH] CmdColumns: Table headers consistent --- src/commands/CmdColumns.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/commands/CmdColumns.cpp b/src/commands/CmdColumns.cpp index 3cd73fc21..28d3113ee 100644 --- a/src/commands/CmdColumns.cpp +++ b/src/commands/CmdColumns.cpp @@ -77,16 +77,7 @@ int CmdColumns::execute (std::string& output) formats.add (STRING_COLUMN_LABEL_MODIFY); formats.add (STRING_COLUMN_LABEL_STYLES); formats.add (STRING_COLUMN_LABEL_EXAMPLES); - - if (context.color ()) - { - Color label (context.config.get ("color.label")); - formats.colorHeader (label); - - Color alternate (context.config.get ("color.alternate")); - formats.colorOdd (alternate); - formats.intraColorOdd (alternate); - } + setHeaderUnderline (formats); for (const auto& name : names) {