Previously showMixedAmountElided would show two amounts and then the elision string if necessary. Now it will display as many Amounts as it can subject to the condition that the amounts plus the elision string fit within 22 characters.
44 lines
831 B
Plaintext
44 lines
831 B
Plaintext
# 1. Drop works in flat mode
|
|
<
|
|
2018/1/1
|
|
(b:j) 1
|
|
|
|
2018/1/1
|
|
(b:j:q) 1
|
|
|
|
2018/1/1
|
|
(c) 1
|
|
|
|
2018/1/1
|
|
(b:i:p) 1
|
|
|
|
2018/1/1
|
|
(a:k) 1
|
|
|
|
$ hledger -f - balance --flat --no-total --drop 1
|
|
1 k
|
|
1 i:p
|
|
1 j
|
|
1 j:q
|
|
1 ...
|
|
>=
|
|
|
|
## 2. Drop works in tree mode with no boring parent elision
|
|
$ hledger -f - balance --tree --no-elide --no-total --drop 1
|
|
1 k
|
|
1 i
|
|
1 p
|
|
2 j
|
|
1 q
|
|
1 ...
|
|
>=
|
|
|
|
## 3. Drop works in tree mode with boring parent elision
|
|
$ hledger -f - balance --tree --no-total --drop 1
|
|
1 k
|
|
1 i:p
|
|
2 j
|
|
1 q
|
|
1 ...
|
|
>=
|