* Dan Sladden <[email protected]> [2021-02-22 05:36]:
> But with --flat --no-total I get this:
>                $-150  Assets:Cash
>                 $150  Assets:One
>                  $50  Assets:One:Two
> which doesn't because the balance for Assets:One includes that of
> Assets:One:Two.

This is imho a bug in --flat.  I ran into this recently and opened
this issue:
https://github.com/ledger/ledger/issues/1987

As a workaround, you could run multiple ledger bal commands
and combine the output into one file.  You would run:
  ledger bal ACCOUNT$
The $ indicating end of string, i.e. without subaccounts.

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/20210223013501.GD3650%40jirafa.cyrius.com.

Reply via email to