Unit Tests, Documentation

- Added 'ids' command to task.1.in.
- Added unit test for 'ids' command.
- Reformatted 'help' output for the ~ modifier.
This commit is contained in:
Paul Beckingham 2011-03-19 01:18:56 -04:00
parent 4b71fa73f8
commit bd0dbe3af6
3 changed files with 86 additions and 3 deletions

View file

@ -197,6 +197,17 @@ currently defined colors.
.B count [filter]
Displays only a count of tasks matching the filter.
.TP
.B ids [filter]
Applies the filter then extracts only the task IDs and presents them as
a range, for example: 1-4,12. This is useful as input to a task command,
to achieve this:
task priority:H $(task ids project:Home)
This example first gets the IDs for the project:Home filter, then sets
the priority to H for each of those tasks.
.TP
.B version
Shows the taskwarrior version number