CmdColumns: Table headers consistent

This commit is contained in:
Paul Beckingham
2017-03-20 09:09:00 -04:00
parent 412e804b93
commit 6703992cf3

View File

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