mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Add hints to all export options
This commit is contained in:
1 parent
30d2253351
commit
73f1e14390
1 file changed
+12
-7
+12
-7
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user