From 30b742e9845314bcac67f37664cfb3df61c1ba3f Mon Sep 17 00:00:00 2001 From: sharkdp Date: Wed, 17 Oct 2018 23:27:44 +0200 Subject: --map-syntax takes just one value --- src/clap_app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/clap_app.rs b/src/clap_app.rs index 817ca1fe..b22f4f03 100644 --- a/src/clap_app.rs +++ b/src/clap_app.rs @@ -65,6 +65,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { .long("map-syntax") .multiple(true) .takes_value(true) + .number_of_values(1) .value_name("from:to") .help("Map a file extension or name to an existing syntax.") .long_help( -- cgit v1.2.3