From 2045e97b1dcddb825437f93b3536aabdb245bd1e Mon Sep 17 00:00:00 2001 From: Engineer-of-Efficiency <100697850+Engineer-of-Efficiency@users.noreply.github.com> Date: Tue, 28 Jun 2022 17:55:56 +0200 Subject: [PATCH] Correct default of the --time-unit option in help text --- src/cli.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index bb7bad1..de8d602 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -210,7 +210,8 @@ fn build_command() -> Command<'static> { .takes_value(true) .value_name("UNIT") .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."), ) .arg(