From bea90a2b985694acb8554f50136fa5afc7fdba12 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 10 Jun 2010 14:28:07 -0400 Subject: Fixed the "generate" command --- src/report.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/report.h') 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"); -- cgit v1.2.3