on master help sign in
--map-syntax takes just one value
commit30b742e9845314bcac67f37664cfb3df61c1ba3f authorsharkdp <davidpeter@web.de> dateWed 17 Oct 2018, 23:27 (8 years ago) parent671deee
1 file changed+1
src/clap_app.rs+1
src/clap_app.rs+1
@@ -65,6 +65,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
6565 .long("map-syntax")
6666 .multiple(true)
6767 .takes_value(true)
68+ .number_of_values(1)
6869 .value_name("from:to")
6970 .help("Map a file extension or name to an existing syntax.")
7071 .long_help(