From 01d8d28024439a6dd6dad8d8056873d4a00081fb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 20 Feb 2009 16:32:44 -0400 Subject: Removed unused --cache option --- src/report.cc | 4 ++-- src/report.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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::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::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"); -- cgit v1.2.3