mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-27 12:16:25 +02:00
CmdHelp: Added 'continue' command help
This commit is contained in:
parent
ea103fd477
commit
4d551d5a6c
1 changed files with 15 additions and 5 deletions
|
@ -34,6 +34,7 @@ int CmdHelpUsage ()
|
||||||
// TODO This is going to need formatting.
|
// TODO This is going to need formatting.
|
||||||
std::cout << "\n"
|
std::cout << "\n"
|
||||||
<< "Usage: timew [--version]\n"
|
<< "Usage: timew [--version]\n"
|
||||||
|
<< " timew continue\n"
|
||||||
<< " timew diagnostics\n"
|
<< " timew diagnostics\n"
|
||||||
<< " timew export\n"
|
<< " timew export\n"
|
||||||
<< " timew extensions\n"
|
<< " timew extensions\n"
|
||||||
|
@ -44,7 +45,6 @@ int CmdHelpUsage ()
|
||||||
|
|
||||||
// TODO clear
|
// TODO clear
|
||||||
// TODO config
|
// TODO config
|
||||||
// TODO continue
|
|
||||||
// TODO define
|
// TODO define
|
||||||
// TODO gaps
|
// TODO gaps
|
||||||
// TODO help
|
// TODO help
|
||||||
|
@ -75,12 +75,22 @@ int CmdHelp (const std::vector <std::string>& args, Log& log)
|
||||||
{
|
{
|
||||||
// TODO clear
|
// TODO clear
|
||||||
// TODO config
|
// TODO config
|
||||||
// TODO continue
|
|
||||||
|
// Ruler 1 2 3 4 5 6 7 8
|
||||||
|
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||||
|
if (args[2] == "continue")
|
||||||
|
std::cout << "\n"
|
||||||
|
<< "Syntax: timew continue\n"
|
||||||
|
<< "\n"
|
||||||
|
<< "Resumes tracking the most recently closed interval.\n"
|
||||||
|
<< "\n"
|
||||||
|
<< "See also 'start', 'stop'.\n"
|
||||||
|
<< "\n";
|
||||||
// TODO define
|
// TODO define
|
||||||
|
|
||||||
// Ruler 1 2 3 4 5 6 7 8
|
// Ruler 1 2 3 4 5 6 7 8
|
||||||
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
|
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||||
if (args[2] == "diagnostics")
|
else if (args[2] == "diagnostics")
|
||||||
std::cout << "\n"
|
std::cout << "\n"
|
||||||
<< "Syntax: timew diagnostics\n"
|
<< "Syntax: timew diagnostics\n"
|
||||||
<< "\n"
|
<< "\n"
|
||||||
|
@ -151,7 +161,7 @@ int CmdHelp (const std::vector <std::string>& args, Log& log)
|
||||||
<< "\n"
|
<< "\n"
|
||||||
<< "Quotes are harmless if used every time.\n"
|
<< "Quotes are harmless if used every time.\n"
|
||||||
<< "\n"
|
<< "\n"
|
||||||
<< "See also 'stop', 'track'.\n"
|
<< "See also 'continue', 'stop', 'track'.\n"
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
// Ruler 1 2 3 4 5 6 7 8
|
// Ruler 1 2 3 4 5 6 7 8
|
||||||
|
@ -162,7 +172,7 @@ int CmdHelp (const std::vector <std::string>& args, Log& log)
|
||||||
<< "\n"
|
<< "\n"
|
||||||
<< "Stops tracking time.\n"
|
<< "Stops tracking time.\n"
|
||||||
<< "\n"
|
<< "\n"
|
||||||
<< "See also 'start', 'track'.\n"
|
<< "See also 'continue', 'start', 'track'.\n"
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
// TODO tags
|
// TODO tags
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue