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