diff --git a/mixnode/src/main.rs b/mixnode/src/main.rs index d3ac898c9d..6f92d4285c 100644 --- a/mixnode/src/main.rs +++ b/mixnode/src/main.rs @@ -6,7 +6,7 @@ mod node; fn main() { let arg_matches = App::new("Nym Mixnode") - .version("0.1.0") + .version(built_info::PKG_VERSION) .author("Nymtech") .about("Implementation of the Loopix-based Mixnode") .subcommand( diff --git a/sfw-provider/src/main.rs b/sfw-provider/src/main.rs index 83f71b64db..9bfc1800ea 100644 --- a/sfw-provider/src/main.rs +++ b/sfw-provider/src/main.rs @@ -19,7 +19,8 @@ fn main() { Arg::with_name("mixHost") .long("mixHost") .help("The custom host on which the service provider will be running for receiving sphinx packets") - .takes_value(true), + .takes_value(true) + .required(true), ) .arg( Arg::with_name("mixPort") @@ -31,7 +32,8 @@ fn main() { Arg::with_name("clientHost") .long("clientHost") .help("The custom host on which the service provider will be running for receiving client sfw-provider-requests") - .takes_value(true), + .takes_value(true) + .required(true), ) .arg( Arg::with_name("clientPort")