mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-03 01:21:25 +00:00
No hybrid between basic and full
This commit is contained in:
1 parent
5ee1c74d81
commit
eb92bd4674
1 file changed
+4
-4
+4
-4
@@ -147,14 +147,14 @@ fn main() {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
if options.output_style == OutputStyleOption::Basic {
|
|
||||||
colored::control::set_override(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
if cfg!(target_os = "windows") {
|
if cfg!(target_os = "windows") {
|
||||||
options.output_style = OutputStyleOption::Basic;
|
options.output_style = OutputStyleOption::Basic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if options.output_style == OutputStyleOption::Basic {
|
||||||
|
colored::control::set_override(false);
|
||||||
|
}
|
||||||
|
|
||||||
if matches.is_present("ignore-failure") {
|
if matches.is_present("ignore-failure") {
|
||||||
options.failure_action = CmdFailureAction::Ignore;
|
options.failure_action = CmdFailureAction::Ignore;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user