diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-27 21:34:08 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-27 21:34:08 -0400 |
commit | 828a1e8bf98365b6266cba95caba08a48b4c745b (patch) | |
tree | 2e2e4016d2509af252ea339bf61a81b0aaa45a90 /src/report.h | |
parent | 07cca71893ef82e4199dc0dcadba25cc0185c4ed (diff) | |
download | fork-ledger-828a1e8bf98365b6266cba95caba08a48b4c745b.tar.gz fork-ledger-828a1e8bf98365b6266cba95caba08a48b4c745b.tar.bz2 fork-ledger-828a1e8bf98365b6266cba95caba08a48b4c745b.zip |
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.
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; }); |