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