Fix: --override-config argument can be passed multiple times

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-10-13 11:32:47 +02:00
parent cc0f2bf3de
commit 2a23002a07

View file

@ -219,6 +219,7 @@ impl<'a> Runtime<'a> {
.long("override-config") .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.") .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) .required(false)
.multiple(true)
.takes_value(true)) .takes_value(true))
.arg(Arg::with_name("runtimepath") .arg(Arg::with_name("runtimepath")