From 828a1e8bf98365b6266cba95caba08a48b4c745b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 27 Oct 2009 21:34:08 -0400 Subject: Added --actual-dates, for overriding --effective This is so that if someone has --effective in their .ledgerrc, they can force the use of actual dates. --- src/report.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/report.h') diff --git a/src/report.h b/src/report.h index 40097c8d..31f65c4f 100644 --- a/src/report.h +++ b/src/report.h @@ -196,6 +196,7 @@ public: HANDLER(abbrev_len_).report(out); HANDLER(account_).report(out); HANDLER(actual).report(out); + HANDLER(actual_dates).report(out); HANDLER(add_budget).report(out); HANDLER(amount_).report(out); HANDLER(amount_data).report(out); @@ -317,6 +318,8 @@ public: parent->HANDLER(limit_).on(string("--actual"), "actual"); }); + OPTION(report_t, actual_dates); + OPTION_(report_t, add_budget, DO() { parent->budget_flags |= BUDGET_BUDGETED | BUDGET_UNBUDGETED; }); -- cgit v1.2.3