mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-26 09:43:51 +01:00
Fix formatting
This commit is contained in:
parent
1a6709c2cb
commit
2a7851530d
@ -185,7 +185,10 @@ impl App {
|
||||
.or_else(|| env::var("BAT_THEME").ok())
|
||||
.unwrap_or(String::from(BAT_THEME_DEFAULT)),
|
||||
line_range: transpose(self.matches.value_of("line-range").map(LineRange::from))?,
|
||||
highlight_line: self.matches.value_of("highlight-line").and_then(|w| w.parse().ok()),
|
||||
highlight_line: self
|
||||
.matches
|
||||
.value_of("highlight-line")
|
||||
.and_then(|w| w.parse().ok()),
|
||||
output_components,
|
||||
})
|
||||
}
|
||||
|
@ -309,8 +309,8 @@ impl<'a> Printer for InteractivePrinter<'a> {
|
||||
} else {
|
||||
None
|
||||
}
|
||||
}
|
||||
_ => None
|
||||
}
|
||||
_ => None,
|
||||
};
|
||||
|
||||
// Line contents.
|
||||
|
Loading…
Reference in New Issue
Block a user