mirror of
https://github.com/sharkdp/bat.git
synced 2025-04-14 06:40:39 +01:00
--map-syntax takes just one value
This commit is contained in:
parent
671deeef8c
commit
30b742e984
@ -65,6 +65,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
|
|||||||
.long("map-syntax")
|
.long("map-syntax")
|
||||||
.multiple(true)
|
.multiple(true)
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
|
.number_of_values(1)
|
||||||
.value_name("from:to")
|
.value_name("from:to")
|
||||||
.help("Map a file extension or name to an existing syntax.")
|
.help("Map a file extension or name to an existing syntax.")
|
||||||
.long_help(
|
.long_help(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user