From 48e479c18968f16de179c43dfab224522be673ef Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 12 Apr 2020 17:18:00 +0100 Subject: [PATCH] better warnings --- src/bin/smiley.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/smiley.rs b/src/bin/smiley.rs index 827d1e2..e2633a1 100644 --- a/src/bin/smiley.rs +++ b/src/bin/smiley.rs @@ -6,9 +6,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 input path specified. Usage: `smiley infile outfile`"); let output_file = env::args().nth(2) - .expect("No game data specified. Usage: `invert infile outfile`"); + .expect("No output path specified. Usage: `smiley infile outfile`"); let mut game = Game::from(fs::read_to_string(input_file).unwrap());