From 7d5f02f5cce2b3f7b5d4089f10de4466c9762a9c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 21 Jun 2009 20:48:27 +0100 Subject: Restored option --period-sort This option is just an alias for --sort-xacts. --- src/report.cc | 2 +- src/report.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/report.cc b/src/report.cc index 1aa614ec..04cbed34 100644 --- a/src/report.cc +++ b/src/report.cc @@ -577,7 +577,7 @@ option_t * report_t::lookup_option(const char * p) else OPT(pending); else OPT(percent); else OPT_(period_); - else OPT(period_sort_); + else OPT_ALT(sort_xacts_, period_sort_); else OPT(plot_amount_format_); else OPT(plot_total_format_); else OPT(price); diff --git a/src/report.h b/src/report.h index 5a9fb8a5..e0150d8f 100644 --- a/src/report.h +++ b/src/report.h @@ -252,7 +252,6 @@ public: HANDLER(pending).report(out); HANDLER(percent).report(out); HANDLER(period_).report(out); - HANDLER(period_sort_).report(out); HANDLER(plot_amount_format_).report(out); HANDLER(plot_total_format_).report(out); HANDLER(price).report(out); @@ -601,8 +600,6 @@ public: string_value(text.as_string() + " " + str())); }); - OPTION(report_t, period_sort_); - OPTION__(report_t, plot_amount_format_, CTOR(report_t, plot_amount_format_) { on(none, "%(format_date(date, \"%Y-%m-%d\")) %(quantity(scrub(display_amount)))\n"); -- cgit v1.2.3