mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-04 20:09:21 +01:00
remove unuseful matches expression
This commit is contained in:
parent
43b2ee5e71
commit
2ccff145ed
@ -224,7 +224,7 @@ impl App {
|
|||||||
style_components,
|
style_components,
|
||||||
syntax_mapping,
|
syntax_mapping,
|
||||||
pager: self.matches.value_of("pager"),
|
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
|
highlighted_lines: self
|
||||||
.matches
|
.matches
|
||||||
.values_of("highlight-line")
|
.values_of("highlight-line")
|
||||||
|
Loading…
Reference in New Issue
Block a user