diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-10 14:28:07 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-10 14:28:07 -0400 |
commit | bea90a2b985694acb8554f50136fa5afc7fdba12 (patch) | |
tree | d27bb8f74c157da289d2da92b0728acd47bac9f8 /src/report.h | |
parent | 685b12d8d3d225498f6dfdbe7b17056684cc2ca8 (diff) | |
download | fork-ledger-bea90a2b985694acb8554f50136fa5afc7fdba12.tar.gz fork-ledger-bea90a2b985694acb8554f50136fa5afc7fdba12.tar.bz2 fork-ledger-bea90a2b985694acb8554f50136fa5afc7fdba12.zip |
Fixed the "generate" command
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/report.h b/src/report.h index 6b0333bd..b893772e 100644 --- a/src/report.h +++ b/src/report.h @@ -257,6 +257,7 @@ public: HANDLER(forecast_years_).report(out); HANDLER(format_).report(out); HANDLER(gain).report(out); + HANDLER(generated).report(out); HANDLER(group_by_).report(out); HANDLER(group_title_format_).report(out); HANDLER(head_).report(out); @@ -289,7 +290,6 @@ public: HANDLER(price).report(out); HANDLER(prices_format_).report(out); HANDLER(pricedb_format_).report(out); - HANDLER(print_virtual).report(out); HANDLER(quantity).report(out); HANDLER(quarterly).report(out); HANDLER(raw).report(out); @@ -599,6 +599,8 @@ public: " - get_at(total_expr, 1)"); }); + OPTION(report_t, generated); + OPTION__ (report_t, group_by_, expr_t expr; @@ -786,8 +788,6 @@ public: "P %(datetime) %(display_account) %(scrub(display_amount))\n"); }); - OPTION(report_t, print_virtual); - OPTION_(report_t, quantity, DO() { // -O parent->HANDLER(revalued).off(); parent->HANDLER(amount_).set_expr(string("--quantity"), "amount"); |