diff --git a/src/cli.rs b/src/cli.rs index e21d56a..c4e915c 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -211,15 +211,16 @@ fn build_command() -> Command<'static> { .value_name("UNIT") .possible_values(&["millisecond", "second"]) .help("Set the time unit to be used. Possible values: millisecond, second.\ - This argument affects the command line output as well as AsciiDoc, Markdown and org-mode exports.\ - It does not affect JSON and CSV exports."), + This option affects the standard output as well as AsciiDoc, Markdown and org-mode exports.\ + It does NOT affect JSON and CSV exports, which always use seconds."), ) .arg( Arg::new("export-asciidoc") .long("export-asciidoc") .takes_value(true) .value_name("FILE") - .help("Export the timing summary statistics as an AsciiDoc table to the given FILE."), + .help("Export the timing summary statistics as an AsciiDoc table to the given FILE.\ + The output time unit is affected by the --time-unit option"), ) .arg( Arg::new("export-csv") @@ -227,28 +228,32 @@ fn build_command() -> Command<'static> { .takes_value(true) .value_name("FILE") .help("Export the timing summary statistics as CSV to the given FILE. If you need \ - the timing results for each individual run, use the JSON export format."), + the timing results for each individual run, use the JSON export format.\ + The output time unit is NOT affected by the --time-unit option, instead it is always seconds"), ) .arg( Arg::new("export-json") .long("export-json") .takes_value(true) .value_name("FILE") - .help("Export the timing summary statistics and timings of individual runs as JSON to the given FILE."), + .help("Export the timing summary statistics and timings of individual runs as JSON to the given FILE.\ + The output time unit is NOT affected by the --time-unit option, instead it is always seconds"), ) .arg( Arg::new("export-markdown") .long("export-markdown") .takes_value(true) .value_name("FILE") - .help("Export the timing summary statistics as a Markdown table to the given FILE."), + .help("Export the timing summary statistics as a Markdown table to the given FILE.\ + The output time unit is affected by the --time-unit option"), ) .arg( Arg::new("export-orgmode") .long("export-orgmode") .takes_value(true) .value_name("FILE") - .help("Export the timing summary statistics as a Emacs org-mode table to the given FILE."), + .help("Export the timing summary statistics as a Emacs org-mode table to the given FILE.\ + The output time unit is affected by the --time-unit option"), ) .arg( Arg::new("show-output")