Use clap arg conflicts check

This commit is contained in:
Tyera Eulberg 2019-01-24 10:14:09 -08:00 committed by Tyera Eulberg
parent b7be5b9a7a
commit b9eb7e14e6
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ fn main() {
Arg::with_name("no_signer")
.long("no-signer")
.takes_value(false)
.conflicts_with("signer")
.help("Launch node without vote signer"),
)
.get_matches();