diff --git a/clients/cli/src/config.rs b/clients/cli/src/config.rs index fe05b47ce..cec32de19 100644 --- a/clients/cli/src/config.rs +++ b/clients/cli/src/config.rs @@ -48,7 +48,7 @@ fn signers_of( name: &str, wallet_manager: &mut Option>, ) -> Result, Box> { - if let Some(values) = matches.values_of(name) { + if let Some(values) = matches.try_get_many::(name).ok().flatten() { let mut results = Vec::new(); for (i, value) in values.enumerate() { let name = format!("{}-{}", name, i.saturating_add(1));