summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/report.cc4
-rw-r--r--src/report.h1
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");