From 38b0c6c4f16d33507d2947ce3428702ec376d73f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 20 Mar 2017 09:11:40 -0400 Subject: [PATCH] CmdShow: Table headers consistent --- src/commands/CmdShow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/commands/CmdShow.cpp b/src/commands/CmdShow.cpp index 55212224a..fb4ac4798 100644 --- a/src/commands/CmdShow.cpp +++ b/src/commands/CmdShow.cpp @@ -35,6 +35,7 @@ #include #include #include +#include extern Context context; extern std::string configurationDefaults; @@ -265,6 +266,7 @@ int CmdShow::execute (std::string& output) view.width (width); view.add (STRING_CMD_SHOW_CONF_VAR); view.add (STRING_CMD_SHOW_CONF_VALUE); + setHeaderUnderline (view); Color error; Color warning; @@ -272,9 +274,6 @@ int CmdShow::execute (std::string& output) { error = Color (context.config.get ("color.error")); warning = Color (context.config.get ("color.warning")); - - Color label (context.config.get ("color.label")); - view.colorHeader (label); } bool issue_error = false;