validator: `--only-known-rpc` requires a `--known-validator ...`
This commit is contained in:
parent
857576d76f
commit
ce2e82cfb6
|
@ -1099,6 +1099,7 @@ pub fn main() {
|
|||
.alias("no-untrusted-rpc")
|
||||
.long("only-known-rpc")
|
||||
.takes_value(false)
|
||||
.requires("known_validators")
|
||||
.help("Use the RPC service of known validators only")
|
||||
)
|
||||
.arg(
|
||||
|
|
Loading…
Reference in New Issue