diff options
-rw-r--r-- | src/chain.cc | 6 | ||||
-rw-r--r-- | src/report.cc | 1 | ||||
-rw-r--r-- | src/report.h | 3 | ||||
-rw-r--r-- | test/baseline/opt-lot-dates.test | 2 | ||||
-rw-r--r-- | test/baseline/opt-lot-prices.test | 2 | ||||
-rw-r--r-- | test/baseline/opt-lots.test | 2 |
6 files changed, 3 insertions, 13 deletions
diff --git a/src/chain.cc b/src/chain.cc index 49e0e470..64550663 100644 --- a/src/chain.cc +++ b/src/chain.cc @@ -188,12 +188,6 @@ post_handler_ptr chain_post_handlers(post_handler_ptr base_handler, else handler.reset(new sort_posts(handler, report.HANDLER(sort_).str())); } -#if 0 - else if (! report.HANDLED(period_) && - ! report.HANDLED(unsorted)) { - handler.reset(new sort_posts(handler, "date")); - } -#endif // collapse_posts causes xacts with multiple posts to appear as xacts // with a subtotaled post for each commodity used. diff --git a/src/report.cc b/src/report.cc index f7455440..9626283a 100644 --- a/src/report.cc +++ b/src/report.cc @@ -1040,7 +1040,6 @@ option_t<report_t> * report_t::lookup_option(const char * p) else OPT(unrealized_gains_); else OPT(unrealized_losses_); else OPT(unround); - else OPT(unsorted); break; case 'w': OPT(weekly); diff --git a/src/report.h b/src/report.h index 6176c19b..eff375cc 100644 --- a/src/report.h +++ b/src/report.h @@ -315,7 +315,6 @@ public: HANDLER(unrealized_gains_).report(out); HANDLER(unrealized_losses_).report(out); HANDLER(unround).report(out); - HANDLER(unsorted).report(out); HANDLER(weekly).report(out); HANDLER(wide).report(out); HANDLER(yearly).report(out); @@ -914,8 +913,6 @@ public: .set_expr(string("--unround"), "unrounded(total_expr)"); }); - OPTION(report_t, unsorted); - OPTION_(report_t, weekly, DO() { // -W parent->HANDLER(period_).on(string("--weekly"), "weekly"); }); diff --git a/test/baseline/opt-lot-dates.test b/test/baseline/opt-lot-dates.test index 2415fb27..bf6dee0b 100644 --- a/test/baseline/opt-lot-dates.test +++ b/test/baseline/opt-lot-dates.test @@ -1,4 +1,4 @@ -reg -F '%(justify(scrub(total_expr), 80, 80, true))\n' --lot-dates --unsorted +reg -F '%(justify(scrub(total_expr), 80, 80, true))\n' --lot-dates <<< C 1.00s = 100c C 1.00G = 100s diff --git a/test/baseline/opt-lot-prices.test b/test/baseline/opt-lot-prices.test index 2fcc79f7..d5d7d11a 100644 --- a/test/baseline/opt-lot-prices.test +++ b/test/baseline/opt-lot-prices.test @@ -1,4 +1,4 @@ -reg -F '%(justify(scrub(total_expr), 80, 80, true))\n' --lot-prices --unsorted +reg -F '%(justify(scrub(total_expr), 80, 80, true))\n' --lot-prices <<< C 1.00s = 100c C 1.00G = 100s diff --git a/test/baseline/opt-lots.test b/test/baseline/opt-lots.test index 8e54e576..808afcc0 100644 --- a/test/baseline/opt-lots.test +++ b/test/baseline/opt-lots.test @@ -1,4 +1,4 @@ -reg -F '%(justify(scrub(total_expr), 80, 80, true))\n' --lots --unsorted +reg -F '%(justify(scrub(total_expr), 80, 80, true))\n' --lots <<< C 1.00s = 100c C 1.00G = 100s |