Don't use --pager or --color with --output
This commit is contained in:
parent
75363003bd
commit
79fe46eae8
1 changed files with 7 additions and 0 deletions
|
|
@ -68,6 +68,13 @@ void report_t::normalize_options(const string& verb)
|
||||||
}
|
}
|
||||||
#endif
|
#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) &&
|
item_t::use_effective_date = (HANDLED(effective) &&
|
||||||
! HANDLED(actual_dates));
|
! HANDLED(actual_dates));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue