Skip to content

Commit 49f8e82

Browse files
committed
Merge branch 'dev-options'
2 parents aa5b3b7 + d34d975 commit 49f8e82

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ fn main() {
8181
show_version();
8282
}
8383

84-
//dbg!("{:?}", &args);
8584
let mut options = args[0..1].to_vec();
8685
let mut parameters = args.to_vec();
8786
let mut script = "-".to_string();
@@ -108,7 +107,7 @@ fn main() {
108107
}
109108
},
110109
Err(why) => {
111-
eprintln!("sush: {}: {}", &args[1], why);
110+
eprintln!("sush: {}: {}", &script, why);
112111
process::exit(1);
113112
},
114113
}

0 commit comments

Comments
 (0)