mirror of
https://github.com/sharkdp/hyperfine.git
synced 2024-10-26 14:10:51 +03:00
Merge 2e4fbf4117
into e8ff88dad1
This commit is contained in:
commit
5bc8345334
@ -215,6 +215,7 @@ fn build_command() -> Command {
|
|||||||
.arg(
|
.arg(
|
||||||
Arg::new("style")
|
Arg::new("style")
|
||||||
.long("style")
|
.long("style")
|
||||||
|
.short('l')
|
||||||
.action(ArgAction::Set)
|
.action(ArgAction::Set)
|
||||||
.value_name("TYPE")
|
.value_name("TYPE")
|
||||||
.value_parser(["auto", "basic", "full", "nocolor", "color", "none"])
|
.value_parser(["auto", "basic", "full", "nocolor", "color", "none"])
|
||||||
@ -230,6 +231,7 @@ fn build_command() -> Command {
|
|||||||
.arg(
|
.arg(
|
||||||
Arg::new("sort")
|
Arg::new("sort")
|
||||||
.long("sort")
|
.long("sort")
|
||||||
|
.short('t')
|
||||||
.action(ArgAction::Set)
|
.action(ArgAction::Set)
|
||||||
.value_name("METHOD")
|
.value_name("METHOD")
|
||||||
.value_parser(["auto", "command", "mean-time"])
|
.value_parser(["auto", "command", "mean-time"])
|
||||||
@ -304,6 +306,7 @@ fn build_command() -> Command {
|
|||||||
.arg(
|
.arg(
|
||||||
Arg::new("show-output")
|
Arg::new("show-output")
|
||||||
.long("show-output")
|
.long("show-output")
|
||||||
|
.short('d')
|
||||||
.action(ArgAction::SetTrue)
|
.action(ArgAction::SetTrue)
|
||||||
.conflicts_with("style")
|
.conflicts_with("style")
|
||||||
.help(
|
.help(
|
||||||
@ -316,6 +319,7 @@ fn build_command() -> Command {
|
|||||||
.arg(
|
.arg(
|
||||||
Arg::new("output")
|
Arg::new("output")
|
||||||
.long("output")
|
.long("output")
|
||||||
|
.short('O')
|
||||||
.conflicts_with("show-output")
|
.conflicts_with("show-output")
|
||||||
.action(ArgAction::Set)
|
.action(ArgAction::Set)
|
||||||
.value_name("WHERE")
|
.value_name("WHERE")
|
||||||
@ -339,6 +343,7 @@ fn build_command() -> Command {
|
|||||||
.arg(
|
.arg(
|
||||||
Arg::new("input")
|
Arg::new("input")
|
||||||
.long("input")
|
.long("input")
|
||||||
|
.short('I')
|
||||||
.action(ArgAction::Set)
|
.action(ArgAction::Set)
|
||||||
.num_args(1)
|
.num_args(1)
|
||||||
.value_name("WHERE")
|
.value_name("WHERE")
|
||||||
|
Loading…
Reference in New Issue
Block a user