diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-08 01:00:16 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-08 01:00:16 -0600 |
commit | 113fb0ee6a520dccdcd18a634f7ee73acd8ee488 (patch) | |
tree | e8038d74b59e2d71cabbfefc3fda5453332a5b77 /src/report.h | |
parent | 21e8b7f6f0a182f67899c5cd3689a5e646d8ed4a (diff) | |
download | fork-ledger-113fb0ee6a520dccdcd18a634f7ee73acd8ee488.tar.gz fork-ledger-113fb0ee6a520dccdcd18a634f7ee73acd8ee488.tar.bz2 fork-ledger-113fb0ee6a520dccdcd18a634f7ee73acd8ee488.zip |
Added --historical option
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h index 515b14c2..d68d1f75 100644 --- a/src/report.h +++ b/src/report.h @@ -645,6 +645,14 @@ public: }); OPTION(report_t, head_); + + OPTION_(report_t, historical, DO() { // -H + parent->HANDLER(amount_) + .set_expr(string("--historical"), + "nail_down(amount_expr, (s,d,t -> market(s,value_date,t)))"); + }); + + OPTION(report_t, inject_); OPTION_(report_t, invert, DO() { |