summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/clap_app.rs1
1 files changed, 1 insertions, 0 deletions
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(