mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
CmdHelp: Added updates to help help
This commit is contained in:
parent
1d218e5521
commit
11ab97331a
1 changed files with 12 additions and 3 deletions
|
@ -43,7 +43,7 @@ int CmdHelpUsage ()
|
|||
<< " timew export [<interval>] [<tag> ...]\n"
|
||||
<< " timew extensions\n"
|
||||
<< " timew gaps [<interval>] [<tag> ...]\n"
|
||||
<< " timew help [<command> | hints]\n"
|
||||
<< " timew help [<command> | interval | hints | date | duration]\n"
|
||||
<< " timew lengthen @<id> [@<id> ...] <duration>\n"
|
||||
<< " timew month [<interval>] [<tag> ...]\n"
|
||||
<< " timew move @<id> <date>\n"
|
||||
|
@ -59,6 +59,12 @@ int CmdHelpUsage ()
|
|||
<< " timew untag @<id> [@<id> ...] <tag> [<tag> ...]\n"
|
||||
<< " timew week [<interval>] [<tag> ...]\n"
|
||||
<< '\n'
|
||||
<< "Additional help:\n"
|
||||
<< " timew help <command>\n"
|
||||
<< " timew help hints\n"
|
||||
<< " timew help date\n"
|
||||
<< " timew help duration\n"
|
||||
<< '\n'
|
||||
<< "Interval:\n"
|
||||
<< " [from] <date>\n"
|
||||
<< " [from] <date> to/- <date>\n"
|
||||
|
@ -398,13 +404,16 @@ int CmdHelp (const CLI& cli)
|
|||
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||
else if (words[0] == "help")
|
||||
std::cout << '\n'
|
||||
<< "The help command shows detailed descriptions and examples of commands and the\n"
|
||||
<< "supported hints. For example:\n"
|
||||
<< "Syntax: timew help [<command> | interval | hints | date | duration]\n"
|
||||
<< "The help command shows detailed descriptions and examples of commands,\n"
|
||||
<< "interval syntax, supported hints, date and duration formats. For example:\n"
|
||||
<< '\n'
|
||||
<< " $ timew help\n"
|
||||
<< " $ timew help start\n"
|
||||
<< " $ timew help hints\n"
|
||||
<< " $ timew help interval\n"
|
||||
<< " $ timew help date\n"
|
||||
<< " $ timew help duration\n"
|
||||
<< '\n';
|
||||
|
||||
// Ruler 1 2 3 4 5 6 7 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue