Skip to content
Myr

Clarify --output's help text

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tavian Barnes · committed by David Peter · parent 277807c · Browse files · 1 file+6 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−4 removed

  • other:+6 added−4 removed

1 file+6 added−4 removed

modified:src/cli.rs+6 added-4 removed
264 unmodified lines
265 .conflicts_with("show-output")266 .takes_value(true)267 .value_name("WHERE")268 .help(269 "Control where the output of the benchmark is redirected.\n\n \270 null: Redirect output to /dev/null (the default).\n\n \271 pipe: Feed the output through a pipe before discarding it.\n \272 Useful if the benchmark special-cases /dev/null.\n\n \269 "Control where the output of the benchmark is redirected. <WHERE> can be:\n\n\270 null: Redirect output to /dev/null (the default). \271 Note that some programs like 'grep' detect when standard output is /dev/null \272 and apply certain optimizations. To avoid that, consider using \273 '--output=pipe'.\n\n\274 pipe: Feed the output through a pipe before discarding it.\n\n\275 <FILE>: Write the output to the given file.",276 ),277 )278 .arg(
22 unmodified lines