mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-03 01:21:25 +00:00
Correct default of the --time-unit option in help text
This commit is contained in:
1 parent
a217f3f32a
commit
2045e97b1d
1 file changed
+2
-1
+2
-1
@@ -210,7 +210,8 @@ fn build_command() -> Command<'static> {
|
|||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.value_name("UNIT")
|
.value_name("UNIT")
|
||||||
.possible_values(&["millisecond", "second"])
|
.possible_values(&["millisecond", "second"])
|
||||||
.help("Set the time unit to be used (default: second). Possible values: millisecond, second.\
|
.help("Set the time unit to be used. Possible values: millisecond, second.\
|
||||||
|
If the option is not given, the time unit is determined based on the results of the first benchmark.\
|
||||||
This option affects the standard output as well as all export formats except for CSV and JSON."),
|
This option affects the standard output as well as all export formats except for CSV and JSON."),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
|
|||||||
Reference in new issue
Block a user