hledger
hledger copied to clipboard
simple balance report's tree layout is disrupted by --layout=bare
This bug seems to have existed since --layout was added in hledger 1.24. Notice how the last of these reports does not have the proper indentation showing account hierarchy:
2025-10-01
a
a:aa 1
$ hledger -f a.journal bal -tNY
Balance changes in 2025:
|| 2025
======++======
a || 0
aa || 1
$ hledger -f a.journal bal -tNY --layout bare
Balance changes in 2025:
|| Commodity 2025
======++=================
a || 0
aa || 1
$ hledger -f a.journal bal -tN
0 a
1 aa
$ hledger -f a.journal bal -tN --layout bare
0 a
1 aa
However, in larger balance reports I do seem to see indentation. So this repro isn't quite pinned down yet.