diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-10-13 11:32:47 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-10-13 12:21:57 +0200 |
commit | 2a23002a0706c220a39d270ab5790696fd9175cd (patch) | |
tree | f4a060bcc2391268643f0ceec7afa2ce5ae17059 /lib | |
parent | cc0f2bf3de6a7553281eb5c0df20330198736fc5 (diff) |
Fix: --override-config argument can be passed multiple times
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/core/libimagrt/src/runtime.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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") |