Skip to content

Commit

Permalink
Runner: make error messages more user-friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
kennystrawnmusic committed Apr 22, 2023
1 parent 1c24b68 commit 4e85fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fn main() {
// Workaround to satisfy the borrow checker
let args = args().collect::<Vec<_>>();
let dev = args.get(2).unwrap_or_else(|| {
eprintln!("Error: no device specified");
eprintln!("Must specify a device to write to");
exit(1);
});

Expand Down

0 comments on commit 4e85fbd

Please sign in to comment.