options: Remove parsing --output-file from the configuration file

The `--output-file` option is used when parsing and handling preliminary
options for logging.  It is also used to set `BaseFormatter.filename`.
Towards ensuring that the option is respected consistently for both
logging and formatting plugins, only observe the value from the CLI.
This commit is contained in:
Eric N. Vander Weele 2019-10-12 15:36:17 +01:00
parent 0359533fca
commit bb12b83cc0

View file

@ -261,7 +261,6 @@ def register_default_options(option_manager):
add_option(
"--output-file",
default=None,
parse_from_config=True,
help="Redirect report to a file.",
)