Skip to content

Commit

Permalink
Merge branch 'dev-options'
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed Aug 31, 2024
2 parents aa5b3b7 + d34d975 commit 49f8e82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ fn main() {
show_version();
}

//dbg!("{:?}", &args);
let mut options = args[0..1].to_vec();
let mut parameters = args.to_vec();
let mut script = "-".to_string();
Expand All @@ -108,7 +107,7 @@ fn main() {
}
},
Err(why) => {
eprintln!("sush: {}: {}", &args[1], why);
eprintln!("sush: {}: {}", &script, why);
process::exit(1);
},
}
Expand Down

0 comments on commit 49f8e82

Please sign in to comment.