From fb2d20e715dd04d27c4873c4989202133783f161 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 2 Sep 2025 07:29:24 +0200 Subject: Add -h and -v options on the help message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On all binaries there were these two options missing from the help message. Signed-off-by: Miquel Sabaté Solà --- crates/readrom/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crates/readrom/src/main.rs') diff --git a/crates/readrom/src/main.rs b/crates/readrom/src/main.rs index 4308d2e..e930e0e 100644 --- a/crates/readrom/src/main.rs +++ b/crates/readrom/src/main.rs @@ -15,7 +15,9 @@ fn print_help() { println!("Display information about NES/Famicom ROM files.\n"); println!("usage: readrom [OPTIONS] \n"); println!("Options:"); - println!(" -H, --header\tJust print the ROM header and quit."); + println!(" -h, --help\t\tPrint this message."); + println!(" -H, --header\t\tJust print the ROM header and quit."); + println!(" -v, --version\t\tPrint the version of this program."); std::process::exit(0); } -- cgit v1.2.3