From 84df513ac4c7bc93bfedc98dacd3b9e8d1358fa7 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 2 Jun 2016 17:19:10 -0400 Subject: fix arg handling error messages; make nonces and keys optional (if no-crypto) --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 6eb7de5..1077034 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,7 @@ fn main() { let matches = match opts.parse(&args[1..]) { Ok(m) => { m } - Err(f) => { println!("Error parsing args: {}", f); usage(opts); exit(-1); } + Err(f) => { println!("{}", f.to_string()); usage(opts); exit(-1); } }; //let verbose: bool = matches.opt_present("v"); -- cgit v1.2.3