CmdColumns: Table headers consistent

This commit is contained in:
Paul Beckingham 2017-03-20 09:09:00 -04:00
parent 2a7d6eb26a
commit 61ee94a0e4

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