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. --- src/session.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/session.h') 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); }; -- cgit v1.2.3