From 2a23002a0706c220a39d270ab5790696fd9175cd Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 13 Oct 2019 11:32:47 +0200 Subject: [PATCH] Fix: --override-config argument can be passed multiple times Signed-off-by: Matthias Beyer --- lib/core/libimagrt/src/runtime.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/libimagrt/src/runtime.rs b/lib/core/libimagrt/src/runtime.rs index e593fff7..89587487 100644 --- a/lib/core/libimagrt/src/runtime.rs +++ b/lib/core/libimagrt/src/runtime.rs @@ -219,6 +219,7 @@ impl<'a> Runtime<'a> { .long("override-config") .help("Override a configuration settings. Use 'key=value' pairs, where the key is a path in the TOML configuration. The value must be present in the configuration and be convertible to the type of the configuration setting. If the argument does not contain a '=', it gets ignored. Setting Arrays and Tables is not yet supported.") .required(false) + .multiple(true) .takes_value(true)) .arg(Arg::with_name("runtimepath")