No hybrid between basic and full

This commit is contained in:
sharkdp authored and David Peter committed 2018-02-02 22:42:53 +01:00
1 parent 5ee1c74d81
commit eb92bd4674
1 file changed
+4 -4
+4 -4
View File
@@ -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;
} }