summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index 8cfa7a59..bd2df046 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -162,6 +162,11 @@ void report_t::normalize_options(const string& verb)
terminus);
}
+ if (HANDLED(immediate) && HANDLED(market)) {
+ HANDLER(amount_)
+ .on("?normalize", "market(amount_expr, value_date, exchange)");
+ }
+
long cols = 0;
if (HANDLED(columns_))
cols = lexical_cast<long>(HANDLER(columns_).value);
@@ -1080,6 +1085,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
case 'i':
OPT(invert);
else OPT(inject_);
+ else OPT(immediate);
break;
case 'j':
OPT_CH(amount_data);