Selaa lähdekoodia

Use old way of handling "run" command

Samuel W. Flint 5 vuotta sitten
vanhempi
commit
7b079a9cd9
1 muutettua tiedostoa jossa 1 lisäystä ja 7 poistoa
  1. 1 7
      src/main.rs

+ 1 - 7
src/main.rs

@@ -17,13 +17,7 @@ fn main() {
     let config_file = find_config_file(matches.value_of("config"));
     let mut configuration: Config = read_configuration_file(&config_file);
     match matches.subcommand_name() {
-        Some("run") => println!("Running..."), // if let Some(matches) = matches.subcommand_matches("run") {
-        //     let names = matches.values_of("name").unwrap();
-        //     // names.mambo
-        //     // println!();
-        //     run(names);
-        //     // for thing in names {}
-        // },
+        Some("run") => println!("Running..."),
         Some(thing) => println!("{}", thing),
         _ => println!("No subcommand."),
     }