Network requester now prints correct version with --version (#478)

This commit is contained in:
Jędrzej Stuczyński
2020-12-02 16:43:56 +00:00
committed by GitHub
parent afb7825135
commit fbdca2dcd5
@@ -9,6 +9,7 @@ const OPEN_PROXY_ARG: &str = "open-proxy";
fn parse_args<'a>() -> ArgMatches<'a> {
App::new("Nym Network Requester")
.version(env!("CARGO_PKG_VERSION"))
.author("Nymtech")
.arg(
Arg::with_name(OPEN_PROXY_ARG)