1
Fork 0

session: terminal-width -> output-width

Rename the `--terminal-width` flag to `--output-width` as the behaviour
doesn't just apply to terminals (and so is slightly less accurate).

Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
David Wood 2022-06-16 16:39:11 +01:00
parent e5288842fa
commit cd23af6793
31 changed files with 65 additions and 65 deletions

View file

@ -1162,7 +1162,7 @@ fn default_emitter(
fallback_bundle,
short,
sopts.debugging_opts.teach,
sopts.terminal_width,
sopts.output_width,
macro_backtrace,
),
Some(dst) => EmitterWriter::new(
@ -1188,7 +1188,7 @@ fn default_emitter(
fallback_bundle,
pretty,
json_rendered,
sopts.terminal_width,
sopts.output_width,
macro_backtrace,
)
.ui_testing(sopts.debugging_opts.ui_testing),
@ -1202,7 +1202,7 @@ fn default_emitter(
fallback_bundle,
pretty,
json_rendered,
sopts.terminal_width,
sopts.output_width,
macro_backtrace,
)
.ui_testing(sopts.debugging_opts.ui_testing),