summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/report.cc1
-rw-r--r--src/report.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index a145a1cc..565ef77e 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -339,6 +339,7 @@ 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(columns_);
else OPT_(current);
break;
case 'd':
diff --git a/src/report.h b/src/report.h
index 60c6249f..f49475f2 100644
--- a/src/report.h
+++ b/src/report.h
@@ -269,6 +269,8 @@ public:
parent->HANDLER(collapse).on_only();
});
+ OPTION(report_t, columns_);
+
OPTION__(report_t, csv_format_, CTOR(report_t, csv_format_) {
on(
"%(quoted(date)),"