CmdUDAs: Table headers consistent
This commit is contained in:
@@ -92,12 +92,7 @@ int CmdUDAs::execute (std::string& output)
|
|||||||
table.add (STRING_COLUMN_LABEL_VALUES);
|
table.add (STRING_COLUMN_LABEL_VALUES);
|
||||||
table.add (STRING_COLUMN_LABEL_DEFAULT);
|
table.add (STRING_COLUMN_LABEL_DEFAULT);
|
||||||
table.add (STRING_COLUMN_LABEL_UDACOUNT);
|
table.add (STRING_COLUMN_LABEL_UDACOUNT);
|
||||||
|
setHeaderUnderline (table);
|
||||||
if (context.color ())
|
|
||||||
{
|
|
||||||
Color label ("underline " + context.config.get ("color.label"));
|
|
||||||
table.colorHeader (label);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (auto& uda : udas)
|
for (auto& uda : udas)
|
||||||
{
|
{
|
||||||
@@ -154,12 +149,7 @@ int CmdUDAs::execute (std::string& output)
|
|||||||
orphanTable.width (context.getWidth ());
|
orphanTable.width (context.getWidth ());
|
||||||
orphanTable.add (STRING_COLUMN_LABEL_ORPHAN);
|
orphanTable.add (STRING_COLUMN_LABEL_ORPHAN);
|
||||||
orphanTable.add (STRING_COLUMN_LABEL_UDACOUNT);
|
orphanTable.add (STRING_COLUMN_LABEL_UDACOUNT);
|
||||||
|
setHeaderUnderline (orphanTable);
|
||||||
if (context.color ())
|
|
||||||
{
|
|
||||||
Color label ("underline " + context.config.get ("color.label"));
|
|
||||||
orphanTable.colorHeader (label);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (auto& o : orphans)
|
for (auto& o : orphans)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user