diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-06-02 17:19:10 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-06-02 17:19:10 -0400 |
commit | 84df513ac4c7bc93bfedc98dacd3b9e8d1358fa7 (patch) | |
tree | a6b5edf53c63f63be3e94adde523e574a4ee906f /src/main.rs | |
parent | 362dbf20d6b990a092bc220d36289144e86aaa6d (diff) | |
download | ucp-84df513ac4c7bc93bfedc98dacd3b9e8d1358fa7.tar.gz ucp-84df513ac4c7bc93bfedc98dacd3b9e8d1358fa7.zip |
fix arg handling error messages; make nonces and keys optional (if no-crypto)
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |