diff --git a/src/main.rs b/src/main.rs index 01afbaa..6fc411e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ #![allow(warnings)] // PACKAGES -use std::process; +use std::io; // MODULES mod initialize; @@ -31,7 +31,9 @@ fn main() { println!("You should enter arguments to use the program.\n"); print_fn::print_commands(); - process::exit(1); + + io::stdin().read_line(&mut String::new()).unwrap(); + return; } }