Add default commandline argument for configuration override
This commit is contained in:
parent
783462899a
commit
6f0670003b
1 changed files with 6 additions and 0 deletions
|
@ -179,6 +179,12 @@ impl<'a> Runtime<'a> {
|
||||||
.required(false)
|
.required(false)
|
||||||
.takes_value(true))
|
.takes_value(true))
|
||||||
|
|
||||||
|
.arg(Arg::with_name("config-override")
|
||||||
|
.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)
|
||||||
|
.takes_value(true))
|
||||||
|
|
||||||
.arg(Arg::with_name("runtimepath")
|
.arg(Arg::with_name("runtimepath")
|
||||||
.long("rtp")
|
.long("rtp")
|
||||||
.help("Alternative runtimepath")
|
.help("Alternative runtimepath")
|
||||||
|
|
Loading…
Reference in a new issue