CmdHelp: Added missing commands

This commit is contained in:
Paul Beckingham 2016-06-05 13:36:45 -04:00
parent 608d75b1a7
commit 9bffcb547d

View file

@ -32,6 +32,7 @@
int CmdHelpUsage ()
{
// TODO This is going to need more formatting.
// TODO Align the arg types?
std::cout << '\n'
<< "Usage: timew [--version]\n"
<< " timew cancel\n"
@ -76,6 +77,11 @@ int CmdHelpUsage ()
// TODO clear
// TODO import
// TODO undo
// TODO join
// TODO split
// TODO lengthen
// TODO shorten
// TODO move
// TODO List all extensions.
@ -298,6 +304,8 @@ int CmdHelp (const CLI& cli)
<< '\n'
<< '\n';
// TODO import
// Ruler 1 2 3 4 5 6 7 8
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
else if (words[0] == "interval")
@ -327,6 +335,9 @@ int CmdHelp (const CLI& cli)
<< "if there is no end date.\n"
<< '\n';
// TODO join
// TODO lengthen
// Ruler 1 2 3 4 5 6 7 8
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
else if (words[0] == "month")
@ -353,9 +364,9 @@ int CmdHelp (const CLI& cli)
<< "See also 'day', 'week', 'summary'.\n"
<< '\n';
// TODO import
// TODO quarter
// TODO move
// TODO report
// TODO shorten
// Ruler 1 2 3 4 5 6 7 8
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
@ -368,6 +379,8 @@ int CmdHelp (const CLI& cli)
<< "See also 'config'.\n"
<< '\n';
// TODO split
// Ruler 1 2 3 4 5 6 7 8
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
else if (words[0] == "start")
@ -481,6 +494,8 @@ int CmdHelp (const CLI& cli)
<< "same as the 'start' command.\n"
<< '\n';
// TODO undo
// Ruler 1 2 3 4 5 6 7 8
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
else if (words[0] == "untag")
@ -530,9 +545,6 @@ int CmdHelp (const CLI& cli)
<< "See also 'day', 'month', 'summary'.\n"
<< '\n';
// TODO undo
// TODO year
else
std::cout << "No help available for '" << words[0] << "'\n";