mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
Merge pull request #3646 from arlosi/fix-stdout
fix: Mixup between stderr and stdout introduced in v3.1.11
This commit is contained in:
commit
61514bf6d1
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