mixnode: running without args isn't an error

This commit is contained in:
Dave Hrycyszyn
2020-01-30 13:01:26 +00:00
parent fd89dc36ec
commit 793d42c33a
+1 -2
View File
@@ -1,5 +1,4 @@
use clap::{App, Arg, ArgMatches, SubCommand};
use log::*;
use std::process;
mod mix_peer;
@@ -58,7 +57,7 @@ fn main() {
.get_matches();
if let Err(e) = execute(arg_matches) {
error!("{}", e);
println!("{}", e);
process::exit(1);
}
}