program name

This commit is contained in:
Max Bradbury 2020-04-12 17:16:58 +01:00
parent bef39f9b8b
commit f8aa13a72e
1 changed files with 2 additions and 2 deletions

View File

@ -16,9 +16,9 @@ use bitsy_parser::image::Image;
/// replaces the player avatar with a smiley face.
fn main() {
let input_file = env::args().nth(1)
.expect("No game data specified. Usage: `invert infile outfile`");
.expect("No game data specified. Usage: `smiley infile outfile`");
let output_file = env::args().nth(2)
.expect("No game data specified. Usage: `invert infile outfile`");
.expect("No game data specified. Usage: `smiley infile outfile`");
let mut game = Game::from(fs::read_to_string(input_file).unwrap());