Allow for multiple highlighted lines

This commit is contained in:
sharkdp committed 2018-12-16 21:00:18 +01:00
1 parent a236a9b195
commit 6b92814ea0
3 files changed
+35 -20

No files matched your search

+3 -3
View File
@@ -191,12 +191,12 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
.arg(
Arg::with_name("highlight-line")
.long("highlight-line")
.overrides_with("highlight-line")
.takes_value(true)
.multiple(true)
.value_name("N")
.help("Highlight a line.")
.help("Highlight the given line.")
.long_help(
"Highlight the Nth line. The background color is changed to create contrast.",
"Highlight the N-th line with a different background color",
),
)
.arg(