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