summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/report.cc3
-rw-r--r--src/report.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/report.cc b/src/report.cc
index 771e1950..881f0518 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -371,7 +371,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
case 'b':
OPT(balance_format_);
else OPT(base);
- else OPT(basis);
+ else OPT_ALT(basis, cost);
else OPT_(begin_);
else OPT(budget);
else OPT(by_payee);
@@ -386,7 +386,6 @@ option_t<report_t> * report_t::lookup_option(const char * p)
else OPT_ALT(comm_as_account, commodity_as_account);
else OPT(collapse);
else OPT(collapse_if_zero);
- else OPT(cost);
else OPT_(current);
break;
case 'd':
diff --git a/src/report.h b/src/report.h
index 7c68c678..e85d1d34 100644
--- a/src/report.h
+++ b/src/report.h
@@ -262,7 +262,6 @@ public:
parent->HANDLER(collapse).on();
});
- OPTION(report_t, cost);
OPTION(report_t, csv_format_);
OPTION(report_t, current); // -c