diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-15 04:28:03 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-15 04:34:16 -0400 |
commit | 34fcc62b4df50893f66f9fc7ffe64de9149ef534 (patch) | |
tree | 06c307313d9ef570409c738b581f70069854dbab /src | |
parent | d2b333881fc40e713a34d34b79ff66f5aaf3d027 (diff) | |
download | fork-ledger-34fcc62b4df50893f66f9fc7ffe64de9149ef534.tar.gz fork-ledger-34fcc62b4df50893f66f9fc7ffe64de9149ef534.tar.bz2 fork-ledger-34fcc62b4df50893f66f9fc7ffe64de9149ef534.zip |
Removed unused --unsorted option
Diffstat (limited to 'src')
-rw-r--r-- | src/chain.cc | 6 | ||||
-rw-r--r-- | src/report.cc | 1 | ||||
-rw-r--r-- | src/report.h | 3 |
3 files changed, 0 insertions, 10 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"); }); |