mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
CmdHelp: Enumerated all the missing entries
This commit is contained in:
parent
b3f40b700b
commit
774b59f37e
1 changed files with 35 additions and 1 deletions
|
@ -38,7 +38,22 @@ int CmdHelpUsage ()
|
||||||
<< " timew log [<message>]\n"
|
<< " timew log [<message>]\n"
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
// TODO List all commands.
|
// TODO clear
|
||||||
|
// TODO config
|
||||||
|
// TODO continue
|
||||||
|
// TODO define
|
||||||
|
// TODO export
|
||||||
|
// TODO extension
|
||||||
|
// TODO gaps
|
||||||
|
// TODO help
|
||||||
|
// TODO import
|
||||||
|
// TODO report
|
||||||
|
// TODO start
|
||||||
|
// TODO stop
|
||||||
|
// TODO tags
|
||||||
|
// TODO track
|
||||||
|
// TODO undo
|
||||||
|
|
||||||
// TODO List all extensions.
|
// TODO List all extensions.
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -58,6 +73,11 @@ int CmdHelp (const std::vector <std::string>& args, Log& log)
|
||||||
{
|
{
|
||||||
if (args.size () > 2)
|
if (args.size () > 2)
|
||||||
{
|
{
|
||||||
|
// TODO clear
|
||||||
|
// TODO config
|
||||||
|
// TODO continue
|
||||||
|
// 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")
|
if (args[2] == "diagnostics")
|
||||||
|
@ -71,6 +91,12 @@ int CmdHelp (const std::vector <std::string>& args, Log& log)
|
||||||
<< "provide supplemental information when reporting a problem.\n"
|
<< "provide supplemental information when reporting a problem.\n"
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
|
// TODO export
|
||||||
|
// TODO extension
|
||||||
|
// TODO gaps
|
||||||
|
// TODO help
|
||||||
|
// TODO import
|
||||||
|
|
||||||
// Ruler 1 2 3 4 5 6 7 8
|
// Ruler 1 2 3 4 5 6 7 8
|
||||||
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
|
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||||
else if (args[2] == "log")
|
else if (args[2] == "log")
|
||||||
|
@ -84,6 +110,14 @@ int CmdHelp (const std::vector <std::string>& args, Log& log)
|
||||||
<< "Note: Your log file is found here:\n"
|
<< "Note: Your log file is found here:\n"
|
||||||
<< " " << log.file () << "\n"
|
<< " " << log.file () << "\n"
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
|
// TODO report
|
||||||
|
// TODO start
|
||||||
|
// TODO stop
|
||||||
|
// TODO tags
|
||||||
|
// TODO track
|
||||||
|
// TODO undo
|
||||||
|
|
||||||
else
|
else
|
||||||
std::cout << "No help available for '" << args[2] << "'\n";
|
std::cout << "No help available for '" << args[2] << "'\n";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue