Allow specififying target binary if multiple are present in a crate

Change-Id: Ibcd475c4f04a16f2ba1509abd4f722c666c6ee7e
diff --git a/src/lib.rs b/src/lib.rs
index 7b707f2..b576aae 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -942,6 +942,12 @@
                             .help("Use sessionctl to run binary."),
                     )
                     .arg(
+                        Arg::with_name("bin")
+                            .long("bin")
+                            .value_name("bin")
+                            .help("Name of the bin target to run"),
+                    )
+                    .arg(
                         Arg::with_name("example")
                             .long("example")
                             .value_name("example")
@@ -1191,6 +1197,10 @@
 
     if let Some(run_matches) = matches.subcommand_matches(RUN) {
         let mut params = vec![];
+        if let Some(bin) = run_matches.value_of("bin") {
+            params.push("--bin");
+            params.push(bin);
+        }
         if let Some(example) = run_matches.value_of("example") {
             params.push("--example");
             params.push(example);