CmdHelp: Added filter, interval and tag syntax to usage.

This commit is contained in:
Paul Beckingham 2016-04-15 19:53:29 -04:00
parent b9e21f455c
commit 7d2cc99449

View file

@ -36,12 +36,30 @@ int CmdHelpUsage ()
<< "Usage: timew [--version]\n"
<< " timew continue\n"
<< " timew diagnostics\n"
<< " timew export\n"
<< " timew export [<filter>]\n"
<< " timew extensions\n"
<< " timew help [<command> | hints]\n"
<< " timew start [<tag> ...]\n"
<< " timew stop\n"
<< " timew stop [<tag> ...]\n"
<< " timew tags\n"
<< " timew track <filter>\n"
<< "\n"
<< "Filter:\n"
<< " [<interval>] [<tag> ...]\n"
<< "\n"
<< "Interval:\n"
<< " [from] <date>\n"
<< " [from] <date> to/- <date>\n"
<< " [from] <date> for <duration>\n"
<< " <duration> before <date>\n"
<< " <duration> after <date>\n"
<< " <duration>\n"
<< "\n"
<< "Tag:\n"
<< " Word\n"
<< " 'Single Quoted Words'\n"
<< " \"Double Quoted Words\"\n"
<< " Escaped\\ Spaces\n"
<< "\n";
// TODO clear