mirror of
https://github.com/sharkdp/hyperfine.git
synced 2024-08-16 17:30:21 +03:00
Compare commits
3 Commits
fe5ddb7e5f
...
39942b3779
Author | SHA1 | Date | |
---|---|---|---|
|
39942b3779 | ||
|
4a00f1821c | ||
|
2e4fbf4117 |
@ -240,6 +240,14 @@ On NixOS, hyperfine can be installed [from the official repositories](https://ni
|
||||
nix-env -i hyperfine
|
||||
```
|
||||
|
||||
### On Flox
|
||||
|
||||
On Flox, hyperfine can be installed as follows.
|
||||
```
|
||||
flox install hyperfine
|
||||
```
|
||||
Hyperfine's version in Flox follows that of Nix.
|
||||
|
||||
### On openSUSE
|
||||
|
||||
On openSUSE, hyperfine can be installed [from the official repositories](https://software.opensuse.org/package/hyperfine):
|
||||
|
@ -215,6 +215,7 @@ fn build_command() -> Command {
|
||||
.arg(
|
||||
Arg::new("style")
|
||||
.long("style")
|
||||
.short('l')
|
||||
.action(ArgAction::Set)
|
||||
.value_name("TYPE")
|
||||
.value_parser(["auto", "basic", "full", "nocolor", "color", "none"])
|
||||
@ -230,6 +231,7 @@ fn build_command() -> Command {
|
||||
.arg(
|
||||
Arg::new("sort")
|
||||
.long("sort")
|
||||
.short('t')
|
||||
.action(ArgAction::Set)
|
||||
.value_name("METHOD")
|
||||
.value_parser(["auto", "command", "mean-time"])
|
||||
@ -304,6 +306,7 @@ fn build_command() -> Command {
|
||||
.arg(
|
||||
Arg::new("show-output")
|
||||
.long("show-output")
|
||||
.short('d')
|
||||
.action(ArgAction::SetTrue)
|
||||
.conflicts_with("style")
|
||||
.help(
|
||||
@ -316,6 +319,7 @@ fn build_command() -> Command {
|
||||
.arg(
|
||||
Arg::new("output")
|
||||
.long("output")
|
||||
.short('O')
|
||||
.conflicts_with("show-output")
|
||||
.action(ArgAction::Set)
|
||||
.value_name("WHERE")
|
||||
@ -339,6 +343,7 @@ fn build_command() -> Command {
|
||||
.arg(
|
||||
Arg::new("input")
|
||||
.long("input")
|
||||
.short('I')
|
||||
.action(ArgAction::Set)
|
||||
.num_args(1)
|
||||
.value_name("WHERE")
|
||||
|
Loading…
Reference in New Issue
Block a user