Restored option --period-sort
This option is just an alias for --sort-xacts.
This commit is contained in:
parent
127e5e7ad2
commit
7d5f02f5cc
2 changed files with 1 additions and 4 deletions
|
|
@ -577,7 +577,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
|
||||||
else OPT(pending);
|
else OPT(pending);
|
||||||
else OPT(percent);
|
else OPT(percent);
|
||||||
else OPT_(period_);
|
else OPT_(period_);
|
||||||
else OPT(period_sort_);
|
else OPT_ALT(sort_xacts_, period_sort_);
|
||||||
else OPT(plot_amount_format_);
|
else OPT(plot_amount_format_);
|
||||||
else OPT(plot_total_format_);
|
else OPT(plot_total_format_);
|
||||||
else OPT(price);
|
else OPT(price);
|
||||||
|
|
|
||||||
|
|
@ -252,7 +252,6 @@ public:
|
||||||
HANDLER(pending).report(out);
|
HANDLER(pending).report(out);
|
||||||
HANDLER(percent).report(out);
|
HANDLER(percent).report(out);
|
||||||
HANDLER(period_).report(out);
|
HANDLER(period_).report(out);
|
||||||
HANDLER(period_sort_).report(out);
|
|
||||||
HANDLER(plot_amount_format_).report(out);
|
HANDLER(plot_amount_format_).report(out);
|
||||||
HANDLER(plot_total_format_).report(out);
|
HANDLER(plot_total_format_).report(out);
|
||||||
HANDLER(price).report(out);
|
HANDLER(price).report(out);
|
||||||
|
|
@ -601,8 +600,6 @@ public:
|
||||||
string_value(text.as_string() + " " + str()));
|
string_value(text.as_string() + " " + str()));
|
||||||
});
|
});
|
||||||
|
|
||||||
OPTION(report_t, period_sort_);
|
|
||||||
|
|
||||||
OPTION__(report_t, plot_amount_format_, CTOR(report_t, plot_amount_format_) {
|
OPTION__(report_t, plot_amount_format_, CTOR(report_t, plot_amount_format_) {
|
||||||
on(none,
|
on(none,
|
||||||
"%(format_date(date, \"%Y-%m-%d\")) %(quantity(scrub(display_amount)))\n");
|
"%(format_date(date, \"%Y-%m-%d\")) %(quantity(scrub(display_amount)))\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue