Use clap arg conflicts check
This commit is contained in:
parent
b7be5b9a7a
commit
b9eb7e14e6
|
@ -191,6 +191,7 @@ fn main() {
|
||||||
Arg::with_name("no_signer")
|
Arg::with_name("no_signer")
|
||||||
.long("no-signer")
|
.long("no-signer")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
|
.conflicts_with("signer")
|
||||||
.help("Launch node without vote signer"),
|
.help("Launch node without vote signer"),
|
||||||
)
|
)
|
||||||
.get_matches();
|
.get_matches();
|
||||||
|
|
Loading…
Reference in New Issue