Skip to content

Commit eb11e96

Browse files
author
Arthur Melton
committed
can use --run
1 parent e5d36c6 commit eb11e96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn main() {
6464
let mut run = matches.is_present("run");
6565
let mut dev = matches.is_present("dev");
6666
let mut file:String = String::new();
67-
if matches.is_present("INPUT") {
67+
if matches.is_present("INPUT") || run {
6868
file = matches.value_of("INPUT").unwrap().to_string();
6969
} else {
7070
loop {

0 commit comments

Comments
 (0)