From a05d39b7226a7a383dc30132a2fac2bbd30a54ec Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 6 Nov 2009 02:38:46 -0500 Subject: 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. --- test/baseline/opt-account.test | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'test/baseline/opt-account.test') diff --git a/test/baseline/opt-account.test b/test/baseline/opt-account.test index d89ea52d..7cda3c4d 100644 --- a/test/baseline/opt-account.test +++ b/test/baseline/opt-account.test @@ -1,15 +1,11 @@ -bal --account=Master +reg --account='payee + ":" + commodity' <<< 2007/02/02 RD VMMXX Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00 Income:Dividends:Vanguard:VMMXX $-0.35 >>>1 - $-0.35 - 0.350 VMMXX Master - 0.350 VMMXX Assets:Investments:Vanguard:VMMXX - $-0.35 Income:Dividends:Vanguard:VMMXX --------------------- - $-0.35 - 0.350 VMMXX +07-Feb-02 RD VMMXX RD VMMXX:VMMXX 0.350 VMMXX 0.350 VMMXX +07-Feb-02 RD VMMXX RD VMMXX:$ $-0.35 $-0.35 + 0.350 VMMXX >>>2 === 0 -- cgit v1.2.3