1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-27 17:41:42 +00:00

Merge branch 'master' of https://github.com/tskinn/bat into tskinn-master

This commit is contained in:
sharkdp
2018-12-16 20:43:36 +01:00
4 changed files with 38 additions and 4 deletions
+11
View File
@@ -188,6 +188,17 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
'--line-range 40:' prints lines 40 to the end of the file",
),
)
.arg(
Arg::with_name("highlight-line")
.long("highlight-line")
.overrides_with("highlight-line")
.takes_value(true)
.value_name("N")
.help("Highlight a line.")
.long_help(
"Highlight the Nth line. The background color is changed to create contrast.",
),
)
.arg(
Arg::with_name("color")
.long("color")