summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/report.h b/src/report.h
index c94cbb91..d4e592b8 100644
--- a/src/report.h
+++ b/src/report.h
@@ -197,7 +197,11 @@ public:
OPTION(report_t, abbrev_len_);
OPTION(report_t, account_);
- OPTION(report_t, actual); // -L
+
+ OPTION_(report_t, actual, DO() { // -L
+ parent->append_predicate("actual");
+ });
+
OPTION_(report_t, add_budget, DO() {
parent->budget_flags = BUDGET_BUDGETED | BUDGET_UNBUDGETED;
});
@@ -386,7 +390,10 @@ public:
parent->prefix_to_period("quarterly");
});
- OPTION(report_t, real); // -R
+ OPTION_(report_t, real, DO() { // -R
+ parent->append_predicate("real");
+ });
+
OPTION(report_t, register_format_);
OPTION(report_t, related); // -r
OPTION(report_t, related_all);