mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdHelp: Migrated from ViewText to Table
This commit is contained in:
parent
7a0707342b
commit
cd2fe40a59
1 changed files with 5 additions and 5 deletions
|
@ -27,7 +27,7 @@
|
|||
#include <cmake.h>
|
||||
#include <CmdHelp.h>
|
||||
#include <algorithm>
|
||||
#include <ViewText.h>
|
||||
#include <Table.h>
|
||||
#include <Context.h>
|
||||
#include <i18n.h>
|
||||
#include <shared.h>
|
||||
|
@ -72,11 +72,11 @@ int CmdHelp::execute (std::string& output)
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string CmdHelp::composeUsage () const
|
||||
{
|
||||
ViewText view;
|
||||
Table view;
|
||||
view.width (context.getWidth ());
|
||||
view.add (Column::factory ("string.left", ""));
|
||||
view.add (Column::factory ("string.left", ""));
|
||||
view.add (Column::factory ("string.left", ""));
|
||||
view.add ("");
|
||||
view.add ("");
|
||||
view.add ("");
|
||||
|
||||
// Static first row.
|
||||
int row = view.addRow ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue