summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index 90de9a3f..cc652f8d 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -68,6 +68,13 @@ void report_t::normalize_options(const string& verb)
}
#endif
+ if (HANDLED(output_)) {
+ if (HANDLED(color) && ! HANDLED(force_color))
+ HANDLER(color).off();
+ if (HANDLED(pager_) && ! HANDLED(force_pager))
+ HANDLER(pager_).off();
+ }
+
item_t::use_effective_date = (HANDLED(effective) &&
! HANDLED(actual_dates));