Skip to content

Commit

Permalink
--map-syntax takes just one value
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Oct 17, 2018
1 parent 671deee commit 30b742e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/clap_app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 30b742e

Please sign in to comment.