Docs: Added 'track' to man page

This commit is contained in:
Paul Beckingham 2016-05-03 08:36:04 -04:00
parent c793fed8d7
commit 66df72f616

View file

@ -111,7 +111,14 @@ Displays all the tags that have been used.
.TP
.B timew track <interval> [<tag> ...]
The track command is used to add tracked time in the past. Perhaps you forgot
to record time, or are just filling in old entries.
to record time, or are just filling in old entries. For example:
$ timew track :yesterday 'Training Course'
$ timew track 9am - 11am 'Staff Meeting'
Note that the track command expects a closed interval (start and end time), when
recording. If a closed interval is not provided, the 'track' command behaves the
same as the 'start' command.
.SH INTERVAL
An interval defines a block of time that is tracked. The syntax for specifying
@ -135,6 +142,9 @@ Examples are:
2h ago
for 2h
An interval is said to be 'closed' if there is both a start and end, and 'open'
if there is no end date.
.SH HINTS
Timewarrior supports hints, which are single-word command line features that
start with a colon like this: