Restored option --period-sort

This option is just an alias for --sort-xacts.
This commit is contained in:
John Wiegley 2009-06-21 20:48:27 +01:00
parent 127e5e7ad2
commit 7d5f02f5cc
2 changed files with 1 additions and 4 deletions

View file

@ -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);

View file

@ -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");