mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdHelp: Added filter, interval and tag syntax to usage.
This commit is contained in:
parent
b9e21f455c
commit
7d2cc99449
1 changed files with 20 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue