mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 17:11:28 +00:00
Clarify --output's help text
This commit is contained in:
1 parent
277807cb5a
commit
dfd1046d63
1 file changed
+6
-4
+6
-4
@@ -266,10 +266,12 @@ fn build_command() -> Command<'static> {
|
|||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.value_name("WHERE")
|
.value_name("WHERE")
|
||||||
.help(
|
.help(
|
||||||
"Control where the output of the benchmark is redirected.\n\n \
|
"Control where the output of the benchmark is redirected. <WHERE> can be:\n\n\
|
||||||
null: Redirect output to /dev/null (the default).\n\n \
|
null: Redirect output to /dev/null (the default). \
|
||||||
pipe: Feed the output through a pipe before discarding it.\n \
|
Note that some programs like 'grep' detect when standard output is /dev/null \
|
||||||
Useful if the benchmark special-cases /dev/null.\n\n \
|
and apply certain optimizations. To avoid that, consider using \
|
||||||
|
'--output=pipe'.\n\n\
|
||||||
|
pipe: Feed the output through a pipe before discarding it.\n\n\
|
||||||
<FILE>: Write the output to the given file.",
|
<FILE>: Write the output to the given file.",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user