From bd6868453705ba27b012b6909dac0d6d7fb204a3 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sun, 16 Dec 2018 22:35:22 +0100 Subject: [PATCH] Fix the number of values to one --- src/clap_app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/clap_app.rs b/src/clap_app.rs index e9f9d3a0..abecb68a 100644 --- a/src/clap_app.rs +++ b/src/clap_app.rs @@ -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.")