Removed unused --cache option

This commit is contained in:
John Wiegley 2009-02-20 16:32:44 -04:00
parent 95a3788fa7
commit 01d8d28024
2 changed files with 2 additions and 3 deletions

View file

@ -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':

View file

@ -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");