clarify hours argument help

This commit is contained in:
Simon Michael 2009-01-23 20:07:31 +00:00
parent a26a56eafe
commit 9c5338793e
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ timelogdefault = "~/.timelog"
timelogenvvar = "TIMELOG"
timeprogname = "hours"
usagehdr = "Usage: hledger [OPTION] COMMAND [ACCTPATTERNS] [-- DESCPATTERNS]\n" ++
"or: hours [OPTIONS] [PERIOD [COMMAND]]\n" ++
"or: hours [OPTIONS] [PERIOD [COMMAND [PATTERNS]]]\n" ++
"\n" ++
"Options (before command, unless using --options-anywhere):"
usageftr = "\n" ++

2
README
View File

@ -61,7 +61,7 @@ categories as accounts. If hledger is invoked by the "hours" alias it
looks for your timelog, and parses arguments slightly differently for
convenient querying:
hours [OPTIONS] [PERIOD [COMMAND]]
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