mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
TI-90: Update help for command 'continue'
This commit is contained in:
parent
b2bc91402f
commit
772c5d4946
1 changed files with 22 additions and 6 deletions
|
@ -37,7 +37,7 @@ int CmdHelpUsage (const Extensions& extensions)
|
||||||
<< "Usage: timew [--version]\n"
|
<< "Usage: timew [--version]\n"
|
||||||
<< " timew cancel\n"
|
<< " timew cancel\n"
|
||||||
<< " timew config [<name> [<value | '']]\n"
|
<< " timew config [<name> [<value | '']]\n"
|
||||||
<< " timew continue\n"
|
<< " timew continue [@<id>] [<date>|<interval>]\n"
|
||||||
<< " timew day [<interval>] [<tag> ...]\n"
|
<< " timew day [<interval>] [<tag> ...]\n"
|
||||||
<< " timew delete @<id> [@<id> ...]\n"
|
<< " timew delete @<id> [@<id> ...]\n"
|
||||||
<< " timew diagnostics\n"
|
<< " timew diagnostics\n"
|
||||||
|
@ -169,19 +169,35 @@ int CmdHelp (
|
||||||
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
|
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||||
else if (words[0] == "continue")
|
else if (words[0] == "continue")
|
||||||
std::cout << '\n'
|
std::cout << '\n'
|
||||||
<< "Syntax: timew continue\n"
|
<< "Syntax: timew continue [<ID>] [<date>|<interval>]\n"
|
||||||
<< '\n'
|
<< '\n'
|
||||||
<< "Resumes tracking of closed interval. For example:\n"
|
<< "Resumes tracking of a closed interval. For example:\n"
|
||||||
|
<< '\n'
|
||||||
|
<< " $ timew track 9am - 10am tag1 tag2\n"
|
||||||
|
<< " $ timew continue\n"
|
||||||
|
<< '\n'
|
||||||
|
<< "This continues the most recent interval. One can refer to another closed\n"
|
||||||
|
<< "interval by referencing its id:\n"
|
||||||
<< '\n'
|
<< '\n'
|
||||||
<< " $ timew track 9am - 10am tag1 tag2\n"
|
<< " $ timew track 9am - 10am tag1 tag2\n"
|
||||||
<< " $ timew track 11am - 1pm tag3\n"
|
<< " $ timew track 11am - 1pm tag3\n"
|
||||||
<< " $ timew continue @2\n"
|
<< " $ timew continue @2\n"
|
||||||
<< '\n'
|
<< '\n'
|
||||||
<< "The 'continue' command creates a new interval, starting now, and using the tags\n"
|
<< "The 'continue' command creates a new interval, starting now, and using the tags\n"
|
||||||
<< "'tag1' and 'tag2'.\n"
|
<< "'tag1' and 'tag2'. (Using the 'summary' command and specifying the ':ids' hint\n"
|
||||||
<< "Using the 'summary' command and specifying the ':ids' hint shows interval IDs.\n"
|
<< "shows interval IDs.) Independently from an ID, one can specify a new start time\n"
|
||||||
|
<< "or an interval range:\n"
|
||||||
<< '\n'
|
<< '\n'
|
||||||
<< "This command is a convenient way to resume work without re-entering the tags.\n"
|
<< " $ timew continue @2 4min ago\n"
|
||||||
|
<< '\n'
|
||||||
|
<< "This continues the interval referenced by ID 2 with a new start time (4 minutes\n"
|
||||||
|
<< "before now)\n"
|
||||||
|
<< '\n'
|
||||||
|
<< " $ timew continue 18pm - 19pm\n"
|
||||||
|
<< '\n'
|
||||||
|
<< "This adds a copy of the latest interval with a new interval range.\n"
|
||||||
|
<< '\n'
|
||||||
|
<< "'continue' is a convenient way to resume work without re-entering the tags.\n"
|
||||||
<< '\n'
|
<< '\n'
|
||||||
<< "See also 'start', 'stop'.\n"
|
<< "See also 'start', 'stop'.\n"
|
||||||
<< '\n';
|
<< '\n';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue