diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/report.cc | 2 | ||||
-rw-r--r-- | src/report.h | 3 |
2 files changed, 1 insertions, 4 deletions
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> * 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"); |