1
0
mirror of https://github.com/sharkdp/bat.git synced 2024-10-05 18:31:06 +01:00

Fix loading of several plugins

This commit is contained in:
David Peter 2022-05-29 20:57:01 +02:00
parent bc91af3ee5
commit dbf78d280a

View File

@ -477,7 +477,9 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
.arg( .arg(
Arg::with_name("load-plugin") Arg::with_name("load-plugin")
.long("load-plugin") .long("load-plugin")
.multiple(true)
.takes_value(true) .takes_value(true)
.number_of_values(1)
.value_name("name") .value_name("name")
.help("Load plugin with specified name.") .help("Load plugin with specified name.")
.hidden_short_help(true) .hidden_short_help(true)