From 2f590bcebc1d0c72a47083a01dd6d7e7564a0f09 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 17 Dec 2016 13:37:12 -0500 Subject: [PATCH] CmdReports: Migrated from ViewText to Table --- src/commands/CmdReports.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/CmdReports.cpp b/src/commands/CmdReports.cpp index 75dd585b4..610d018cd 100644 --- a/src/commands/CmdReports.cpp +++ b/src/commands/CmdReports.cpp @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include @@ -86,10 +86,10 @@ int CmdReports::execute (std::string& output) // Compose the output. std::stringstream out; - ViewText view; + Table view; view.width (context.getWidth ()); - view.add (Column::factory ("string", STRING_CMD_REPORTS_REPORT)); - view.add (Column::factory ("string", STRING_CMD_REPORTS_DESC)); + view.add (STRING_CMD_REPORTS_REPORT); + view.add (STRING_CMD_REPORTS_DESC); if (context.color ()) {