diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-06 02:38:46 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-06 02:39:30 -0500 |
commit | a05d39b7226a7a383dc30132a2fac2bbd30a54ec (patch) | |
tree | b8a91ddd64b1c7c43612f341bff62530aa986003 /src/session.h | |
parent | 05d0f1a17f9f4a9d659274d91dfb164055453637 (diff) | |
download | fork-ledger-a05d39b7226a7a383dc30132a2fac2bbd30a54ec.tar.gz fork-ledger-a05d39b7226a7a383dc30132a2fac2bbd30a54ec.tar.bz2 fork-ledger-a05d39b7226a7a383dc30132a2fac2bbd30a54ec.zip |
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.
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.h b/src/session.h index 7c5d47dd..579f87a8 100644 --- a/src/session.h +++ b/src/session.h @@ -87,12 +87,12 @@ public: void report_options(std::ostream& out) { - HANDLER(account_).report(out); HANDLER(cache_).report(out); HANDLER(download).report(out); HANDLER(european).report(out); HANDLER(file_).report(out); HANDLER(input_date_format_).report(out); + HANDLER(master_account_).report(out); HANDLER(price_db_).report(out); HANDLER(price_exp_).report(out); HANDLER(strict).report(out); @@ -107,7 +107,6 @@ public: * Option handlers */ - OPTION(session_t, account_); // -a OPTION(session_t, cache_); OPTION(session_t, download); // -Q @@ -141,6 +140,7 @@ public: set_input_date_format(args[1].as_string().c_str()); }); + OPTION(session_t, master_account_); OPTION(session_t, price_db_); OPTION(session_t, strict); }; |