mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-26 17:53:54 +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())
|
.or_else(|| env::var("BAT_THEME").ok())
|
||||||
.unwrap_or(String::from(BAT_THEME_DEFAULT)),
|
.unwrap_or(String::from(BAT_THEME_DEFAULT)),
|
||||||
line_range: transpose(self.matches.value_of("line-range").map(LineRange::from))?,
|
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,
|
output_components,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -310,7 +310,7 @@ impl<'a> Printer for InteractivePrinter<'a> {
|
|||||||
None
|
None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_ => None
|
_ => None,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Line contents.
|
// Line contents.
|
||||||
|
Loading…
Reference in New Issue
Block a user