mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
1 parent
f75f0a10fe
commit
277807cb5a
6 files changed
+129
-23
No files matched your search
+14
@@ -259,6 +259,20 @@ fn build_command() -> Command<'static> {
|
||||
when trying to benchmark output speed.",
|
||||
),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("output")
|
||||
.long("output")
|
||||
.conflicts_with("show-output")
|
||||
.takes_value(true)
|
||||
.value_name("WHERE")
|
||||
.help(
|
||||
"Control where the output of the benchmark is redirected.\n\n \
|
||||
null: Redirect output to /dev/null (the default).\n\n \
|
||||
pipe: Feed the output through a pipe before discarding it.\n \
|
||||
Useful if the benchmark special-cases /dev/null.\n\n \
|
||||
<FILE>: Write the output to the given file.",
|
||||
),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("command-name")
|
||||
.long("command-name")
|
||||
|
||||
Reference in new issue
Block a user