ledger/test/baseline/opt-commodity-as-account.test
John Wiegley a05d39b722 Renamed --set-reported-account to just --account
This fits better with the --amount and --total options, which both
change the amount and total used for calculation.  Same with --account:
it happens after filtering, but before calculation so that balance
reports look as you'd expect.
2009-11-06 02:39:30 -05:00

11 lines
416 B
Text

reg --account=commodity
<<<
2007/02/02 RD VMMXX
Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
Income:Dividends:Vanguard:VMMXX $-0.35
>>>1
07-Feb-02 RD VMMXX VMMXX 0.350 VMMXX 0.350 VMMXX
07-Feb-02 RD VMMXX $ $-0.35 $-0.35
0.350 VMMXX
>>>2
=== 0