on master help sign in
Fix the number of values to one
commitbd6868453705ba27b012b6909dac0d6d7fb204a3 authorsharkdp <davidpeter@web.de> dateSun 16 Dec 2018, 22:35 (8 years ago) parentc2847f6
1 file changed+1
src/clap_app.rs+1
src/clap_app.rs+1
@@ -194,6 +194,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
194194 .long("highlight-line")
195195 .short("H")
196196 .takes_value(true)
197+ .number_of_values(1)
197198 .multiple(true)
198199 .value_name("N")
199200 .help("Highlight the given line.")