>>>>> "ES" == Edwin Stearns <[email protected]> writes:

ES> Thanks! This works, but I'm struggling to understand the
ES> `--account=commodity` part of the command. There is no example like this in
ES> the documentation. What other options does --account have?

--account takes any value expression that can be rendered as a string, and it
prepends the actual account name with this string.

So, if you use --account=tag('Foo'), then your account names become:

    <Value of tag Foo for the posting>:<original account name>

There is also a --payee flag that does the same thing for payees.

This gives you various ways of changing the report output, without losing any
of the account information.  That's why I added --collapse: to disable display
of the account tree underneath each "commodity".

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

-- 

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to