From b9eb7e14e65d4e6c63d967034ee9b2fd2709a3ce Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Thu, 24 Jan 2019 10:14:09 -0800 Subject: [PATCH] Use clap arg conflicts check --- fullnode/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/fullnode/src/main.rs b/fullnode/src/main.rs index 2b3d6a1595..f589e42493 100644 --- a/fullnode/src/main.rs +++ b/fullnode/src/main.rs @@ -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();