diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-20 16:32:44 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-20 16:32:44 -0400 |
commit | 01d8d28024439a6dd6dad8d8056873d4a00081fb (patch) | |
tree | f9cdb02850b7d63f12c3d00396809538aa094790 /src | |
parent | 95a3788fa7a51a889bf25e9bed5587413573c300 (diff) | |
download | fork-ledger-01d8d28024439a6dd6dad8d8056873d4a00081fb.tar.gz fork-ledger-01d8d28024439a6dd6dad8d8056873d4a00081fb.tar.bz2 fork-ledger-01d8d28024439a6dd6dad8d8056873d4a00081fb.zip |
Removed unused --cache option
Diffstat (limited to 'src')
-rw-r--r-- | src/report.cc | 4 | ||||
-rw-r--r-- | src/report.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/report.cc b/src/report.cc index 0a64abcc..e4fde182 100644 --- a/src/report.cc +++ b/src/report.cc @@ -337,8 +337,7 @@ option_t<report_t> * report_t::lookup_option(const char * p) else OPT(by_payee); break; case 'c': - OPT(cache_); - else OPT(csv_format_); + OPT(csv_format_); else OPT(cleared); else OPT(code_as_payee); else OPT_ALT(comm_as_payee, commodity_as_payee); @@ -347,6 +346,7 @@ option_t<report_t> * report_t::lookup_option(const char * p) else OPT(collapse); else OPT(collapse_if_zero); else OPT(columns_); + else OPT_ALT(basis, cost); else OPT_(current); break; case 'd': diff --git a/src/report.h b/src/report.h index 7aa4bc42..ae917820 100644 --- a/src/report.h +++ b/src/report.h @@ -263,7 +263,6 @@ public: }); OPTION(report_t, by_payee); // -P - OPTION(report_t, cache_); OPTION_(report_t, cleared, DO() { // -C parent->HANDLER(limit_).on("cleared"); |