Fix the number of values to one

This commit is contained in:
sharkdp 2018-12-16 22:35:22 +01:00
parent c2847f6a9f
commit bd68684537

View File

@ -194,6 +194,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
.long("highlight-line")
.short("H")
.takes_value(true)
.number_of_values(1)
.multiple(true)
.value_name("N")
.help("Highlight the given line.")