2014-12-05 23:56:33 +03:00
|
|
|
# issue 219, --tree and --flat flags should override each other cleanly
|
|
|
|
# 1. multiple flags ending with --flat, equivalent to --flat
|
2015-07-12 21:54:08 +03:00
|
|
|
hledger -f balance-multicol.journal bal -MEH --no-total date:2013/1 --tree --flat
|
2014-12-05 23:56:33 +03:00
|
|
|
>>>
|
|
|
|
Ending balances (historical) in 2013/01:
|
|
|
|
|
|
|
|
|| 2013/01/31
|
|
|
|
=================++=============
|
|
|
|
assets:checking || 10
|
|
|
|
|
|
|
|
>>>= 0
|
|
|
|
|
|
|
|
# 2. multiple flags ending with --tree, equivalent to --tree
|
2015-07-12 21:54:08 +03:00
|
|
|
hledger -f balance-multicol.journal bal -MEH --no-total date:2013/1 --flat --tree
|
2014-12-05 23:56:33 +03:00
|
|
|
>>>
|
|
|
|
Ending balances (historical) in 2013/01:
|
|
|
|
|
|
|
|
|| 2013/01/31
|
|
|
|
============++=============
|
|
|
|
assets || 10
|
|
|
|
checking || 10
|
|
|
|
|
|
|
|
>>>= 0
|