mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-02 05:30:23 +02:00
Enhancement - undo
- Removed obsolete undelete command. - Removed obsolete undo command. - Implemented new undo command as a call to the stubbed TDB::undo call.
This commit is contained in:
parent
dc2bac1b5e
commit
af7803ea27
6 changed files with 14 additions and 112 deletions
|
@ -99,6 +99,10 @@ std::string shortUsage ()
|
|||
table.addCell (row, 1, "task edit ID");
|
||||
table.addCell (row, 2, "Launches an editor to let you modify all aspects of a task directly, therefore it is to be used carefully.");
|
||||
|
||||
row = table.addRow ();
|
||||
table.addCell (row, 1, "task undo");
|
||||
table.addCell (row, 2, "Reverts the most recent action.");
|
||||
|
||||
#ifdef FEATURE_SHELL
|
||||
row = table.addRow ();
|
||||
table.addCell (row, 1, "task shell");
|
||||
|
@ -113,10 +117,6 @@ std::string shortUsage ()
|
|||
table.addCell (row, 1, "task delete ID");
|
||||
table.addCell (row, 2, "Deletes the specified task.");
|
||||
|
||||
row = table.addRow ();
|
||||
table.addCell (row, 1, "task undelete ID");
|
||||
table.addCell (row, 2, "Undeletes the specified task, provided a report has not yet been run.");
|
||||
|
||||
row = table.addRow ();
|
||||
table.addCell (row, 1, "task info ID");
|
||||
table.addCell (row, 2, "Shows all data, metadata for specified task.");
|
||||
|
@ -133,10 +133,6 @@ std::string shortUsage ()
|
|||
table.addCell (row, 1, "task done ID [tags] [attrs] [desc...]");
|
||||
table.addCell (row, 2, "Marks the specified task as completed.");
|
||||
|
||||
row = table.addRow ();
|
||||
table.addCell (row, 1, "task undo ID");
|
||||
table.addCell (row, 2, "Marks the specified done task as pending, provided a report has not yet been run.");
|
||||
|
||||
row = table.addRow ();
|
||||
table.addCell (row, 1, "task projects");
|
||||
table.addCell (row, 2, "Shows a list of all project names used, and how many tasks are in each.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue