2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-15 00:12:57 +00:00

remove unuseful matches expression

This commit is contained in:
MarcoIeni 2020-11-07 11:14:31 +01:00 committed by David Peter
parent 43b2ee5e71
commit 2ccff145ed

View File

@ -224,7 +224,7 @@ impl App {
style_components,
syntax_mapping,
pager: self.matches.value_of("pager"),
use_italic_text: matches!(self.matches.value_of("italic-text"), Some("always")),
use_italic_text: self.matches.value_of("italic-text") == Some("always"),
highlighted_lines: self
.matches
.values_of("highlight-line")