Skip to content

Commit

Permalink
updated src/main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxydev committed Nov 1, 2022
1 parent d679dc1 commit e8e498d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(warnings)]

// PACKAGES
use std::process;
use std::io;

// MODULES
mod initialize;
Expand Down Expand Up @@ -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;
}
}

Expand Down

0 comments on commit e8e498d

Please sign in to comment.