;close: cleanups (#1165)
This commit is contained in:
parent
a1fbe0247a
commit
98b90a8a7b
@ -34,6 +34,7 @@ closemode = hledgerCommandMode
|
||||
([], Just $ argsFlag "[QUERY]")
|
||||
|
||||
-- debugger, beware: close is incredibly devious. simple rules combine to make a horrid maze.
|
||||
-- tests are in tests/close.test.
|
||||
close CliOpts{rawopts_=rawopts, reportopts_=ropts} j = do
|
||||
today <- getCurrentDay
|
||||
let
|
||||
|
||||
@ -237,7 +237,7 @@ $ hledger -f- close -p 2016 assets liabilities
|
||||
|
||||
>=0
|
||||
|
||||
# 9. With --interleaved, balanced posting pairs are adjacent.
|
||||
# 9. With --interleaved, each transfer's postings are adjacent.
|
||||
# (And balances with the same cost are not necessarily combined into
|
||||
# a single posting. Eg the 5734 EUR above is 5733 EUR and 1 EUR below.)
|
||||
$ hledger -f- close -p 2016 assets liabilities --interleaved
|
||||
|
||||
Loading…
Reference in New Issue
Block a user