- Task supports modifying the existing description of a task, with the

following syntax: task <id> "new description ...".
This commit is contained in:
Paul Beckingham 2008-09-13 23:33:53 -04:00
parent 21c33f7030
commit a1cc4e5774
6 changed files with 14 additions and 4 deletions

View file

@ -7,7 +7,7 @@ represents a feature release, and the Z represents a patch.
------ current release --------------------------- ------ current release ---------------------------
1.4.2 (9/13/2008) 1.4.2 (9/14/2008)
+ "task undo" can now retract a "task done" command, provided no reports + "task undo" can now retract a "task done" command, provided no reports
have been run (and therefore TDB::gc run) have been run (and therefore TDB::gc run)
+ Task now correctly sorts on entire strings, instead of just the first + Task now correctly sorts on entire strings, instead of just the first

View file

@ -356,6 +356,14 @@ ID Project Pri Description
% wtask list % wtask list
...</code></pre> ...</code></pre>
<strong>% task &lt;id&gt; "new description"</strong>
<p>
Not strictly a command, the replacement of the description can
be achieved by quoting the entire description. The quotes are
necessary in case one of the description words looks like a task
command.
</p>
<strong>% task &lt;id&gt; fg:... bg:...</strong> <strong>% task &lt;id&gt; fg:... bg:...</strong>
<p> <p>
Not strictly a command, the setting of the fg and bg (foreground Not strictly a command, the setting of the fg and bg (foreground

View file

@ -92,7 +92,7 @@
--> -->
</table> </table>
<h4>New in version 1.4.2 (9/13/2008)</h4> <h4>New in version 1.4.2 (9/14/2008)</h4>
<ul> <ul>
<li>"task undo" can now retract a "task done" command, provided no <li>"task undo" can now retract a "task done" command, provided no
reports have been run. reports have been run.
@ -109,6 +109,8 @@
<li>Task now supports "default.command" configuration variable (for example <li>Task now supports "default.command" configuration variable (for example
it could contain "list due:tomorrow") which is the command that is run it could contain "list due:tomorrow") which is the command that is run
whenever task is invoked with no arguments. whenever task is invoked with no arguments.
<li>Task supports modifying the existing description of a task, with the
following syntax: task &lt;id&gt; "new description ...".
<li>Fixed bug so that relative dates in filters (task list due:eom, <li>Fixed bug so that relative dates in filters (task list due:eom,
task list due:tomorrow, task list due:23rd ...) are now properly task list due:tomorrow, task list due:23rd ...) are now properly
supported. supported.

View file

@ -38,7 +38,7 @@
task long [tags] [attrs] desc... task long [tags] [attrs] desc...
task ls [tags] [attrs] desc... task ls [tags] [attrs] desc...
task completed [tags] [attrs] desc... task completed [tags] [attrs] desc...
task ID [tags] [attrs] [desc...] task ID [tags] [attrs] ["desc..."]
task ID /from/to/ task ID /from/to/
task delete ID task delete ID
task undelete ID task undelete ID

View file

@ -49,6 +49,7 @@
<li>Removed TUTORIAL file contents in favor of online version <li>Removed TUTORIAL file contents in favor of online version
<li>New Mac Intel-only Leopard (10.5) binary package <li>New Mac Intel-only Leopard (10.5) binary package
</ul> </ul>
<p> <p>
<h4>New in version 1.4.0 (7/10/2008)</h4> <h4>New in version 1.4.0 (7/10/2008)</h4>
Source: <a href="http://www.beckingham.net/task-1.4.0.tar.gz">task-1.4.0.tar.gz</a> Source: <a href="http://www.beckingham.net/task-1.4.0.tar.gz">task-1.4.0.tar.gz</a>

View file

@ -418,7 +418,6 @@ void parse (
command = l; command = l;
else else
descCandidate += arg; descCandidate += arg;
// throw std::string ("'") + arg + "' is not a valid command.";
} }
// Anything else is just considered description. // Anything else is just considered description.