mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
fix: Mixup between stderr and stdout introduced in v3.1.11
This commit is contained in:
parent
a46ee83224
commit
854017b478
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ impl Colorizer {
|
|||
};
|
||||
|
||||
let writer = match self.stream {
|
||||
Stream::Stdout => BufferWriter::stderr(color_when),
|
||||
Stream::Stderr => BufferWriter::stdout(color_when),
|
||||
Stream::Stderr => BufferWriter::stderr(color_when),
|
||||
Stream::Stdout => BufferWriter::stdout(color_when),
|
||||
};
|
||||
|
||||
let mut buffer = writer.buffer();
|
||||
|
|
Loading…
Reference in a new issue