Doc: Added 'join' command

This commit is contained in:
Paul Beckingham 2016-06-18 13:04:11 -04:00
parent 6e4c034ce8
commit 596c1751fe

View file

@ -123,6 +123,21 @@ interval syntax, supported hints, date and duration formats. For example:
$ timew help date
$ timew help duration
.TP
.B timew join @<id> @<id>
Joins two intervals, by using the earlier of the two start times, and the later
of the two end times, and the combined set of tags. Using the 'summary' command,
and specifying the ':ids' hint shows interval IDs. Using the correct IDs, you
can identify an intervals to join. For example, show the IDs:
$ timew summary :week :ids
Then having selected '@1' and '@2' as the intervals you wish to join:
$ timew join @1 @2
See also 'split', 'lengthen', 'shorten'.
.TP
.B timew lengthen @<id> [@<id> ...] <duration>
The 'lengthen' command is used to defer the end date of a closed interval.