summaryrefslogtreecommitdiffstats
path: root/CLI/rust/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'CLI/rust/src/main.rs')
-rw-r--r--CLI/rust/src/main.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/CLI/rust/src/main.rs b/CLI/rust/src/main.rs
index 71f81e5..a831dd8 100644
--- a/CLI/rust/src/main.rs
+++ b/CLI/rust/src/main.rs
@@ -1,6 +1,7 @@
mod game_of_life;
fn main() {
- let matches = game_of_life::options().unwrap_or_else(|e| e.exit());
- println!("{:?}", matches);
+ let opts = game_of_life::opts::Opts::from(game_of_life::app().get_matches())
+ .unwrap_or_else(|e| e.exit());
+ println!("{:?}", opts);
}