Skip to content

Commit 6dcbec9

Browse files
committed
fix(text-lexarg): Fix --quiet's behavior with --format
1 parent fc7f10f commit 6dcbec9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • crates/libtest-lexarg/src

crates/libtest-lexarg/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,7 @@ impl TestOptsParseState {
504504
}
505505
if let Some(format) = self.format {
506506
self.opts.format = format;
507-
}
508-
if self.quiet {
507+
} else if self.quiet {
509508
self.opts.format = OutputFormat::Terse;
510509
}
511510

0 commit comments

Comments
 (0)