Skip to content
Myr

Change color override part

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by David Peter · parent 681e506 · Browse files · 1 file+4 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−2 removed

  • other:+4 added−2 removed

1 file+4 added−2 removed

modified:src/main.rs+4 added-2 removed
182 unmodified lines
183 options.output_style = OutputStyleOption::NoColor;184 }185186 match options.output_style {187 OutputStyleOption::Full | OutputStyleOption::Color => colored::control::unset_override(),188 _ => colored::control::set_override(false),187 OutputStyleOption::Basic | OutputStyleOption::NoColor => {188 colored::control::set_override(false)189 }190 _ => {}191 }192193 if matches.is_present("ignore-failure") {194 options.failure_action = CmdFailureAction::Ignore;
44 unmodified lines