readme time reporting improvements

This commit is contained in:
Simon Michael 2009-01-23 02:33:34 +00:00
parent 9d72ccebe7
commit a99457f2d4

14
README
View File

@ -67,23 +67,23 @@ try::
Time reporting
--------------
hledger can parse a timelog file in timeclock.el's format, treating time
categories as accounts. If hledger is invoked by the "hours" alias it
looks for your timelog, and parses arguments slightly differently for
convenient querying:
hledger can parse a timelog file in timeclock.el's format, treating
time categories as accounts. If hledger is invoked by the "hours"
alias it looks for your timelog (~/.timelog, or the file specified by
$TIMELOG or -f), and parses arguments slightly differently for
convenient querying::
hours [OPTIONS] [PERIOD [COMMAND [PATTERNS]]]
PERIOD and COMMAND default to "today" and "balance --subtotal"
respectively, and --options-anywhere is assumed. The timelog is found in
the same way as your ledger: ~/.timelog or the file specified by $TIMELOG
or an -f option. Examples:
respectively, and --options-anywhere is assumed. Examples::
hours # today's balances
hours today # the same
hours 'this week' # so far this week
hours week # the same
hours lastmonth # last month, the space is optional
hours 'from 1/15' # from jan 15
hours 'monthly in 2008' reg --depth 1 # monthly register, top-level only
Features