--map-syntax takes just one value

This commit is contained in:
sharkdp 2018-10-17 23:27:44 +02:00
parent 671deeef8c
commit 30b742e984
1 changed files with 1 additions and 0 deletions

View File

@ -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(