From fda7fd56b9b98d03e1279a4be1cb7e7f589888d7 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 28 Dec 2015 11:17:04 +0100 Subject: [PATCH] Fix: Argument for BM::exec() --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 44a8c32f..0d4716a4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -43,7 +43,7 @@ fn main() { debug!("Runtime : {:?}", &rt); if let Some(matches) = rt.config.cli_matches.subcommand_matches("bm") { - let res = BM::new(&rt).exec(matches.subcommand_matches("bm").unwrap()); + let res = BM::new(&rt).exec(matches); info!("BM exited with {}", res); } else { info!("No commandline call...")