CmdContext: Table headers consistent

This commit is contained in:
Paul Beckingham 2017-03-20 09:09:46 -04:00
parent 120c50f75e
commit 73040f2679

View file

@ -225,12 +225,7 @@ void CmdContext::listContexts (std::stringstream& out)
table.add ("Name"); table.add ("Name");
table.add ("Definition"); table.add ("Definition");
table.add ("Active"); table.add ("Active");
setHeaderUnderline (table);
if (context.color ())
{
Color label (context.config.get ("color.label"));
table.colorHeader (label);
}
std::string activeContext = context.config.get ("context"); std::string activeContext = context.config.get ("context");