docs: Update documentation for continue command

This commit is contained in:
Thomas Lauf 2017-04-13 23:55:12 +02:00
parent 872499a54e
commit 735fb10e41
2 changed files with 7 additions and 3 deletions

View file

@ -61,13 +61,15 @@ See also 'hints', 'show'.
.TP
.B timew continue
Resumes tracking the most recently closed interval. For example:
Resumes tracking of closed intervals. For example:
$ timew track 9am - 10am tag1 tag2
$ timew continue
$ timew track 11am - 1pm tag3
$ timew continue @2
The 'continue' command creates a new interval, starting now, and using the
tags 'tag1' and 'tag2'.
Using the 'summary' command and specifying the ':ids' hint shows interval IDs.
This command is a convenient way to resume work without re-entering the
tags.

View file

@ -174,10 +174,12 @@ int CmdHelp (
<< "Resumes tracking the most recently closed interval. For example:\n"
<< '\n'
<< " $ timew track 9am - 10am tag1 tag2\n"
<< " $ timew continue\n"
<< " $ timew track 11am - 1pm tag3\n"
<< " $ timew continue @2\n"
<< '\n'
<< "The 'continue' command creates a new interval, starting now, and using the tags\n"
<< "'tag1' and 'tag2'.\n"
<< "Using the 'summary' command and specifying the ':ids' hint shows interval IDs.\n"
<< '\n'
<< "This command is a convenient way to resume work without re-entering the tags.\n"
<< '\n'