From 68b38094cc8a42e31b5635b3a0e1f20c82acd0c2 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 26 Aug 2026 08:20:08 +0200 Subject: readrom: fix help message on --nasm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- crates/readrom/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/readrom') diff --git a/crates/readrom/src/main.rs b/crates/readrom/src/main.rs index f461fe9..a7f05b0 100644 --- a/crates/readrom/src/main.rs +++ b/crates/readrom/src/main.rs @@ -33,7 +33,7 @@ fn print_help() { println!(" -h, --help\t\t\tPrint this message."); println!(" -H, --header\t\t\tJust print the ROM header and quit."); println!(" -m, --mapping \t\t\tDisassemble the mapped segments as referenced by NAME."); - println!(" -n, --nasm-directory \tPath to the .nasm/ directory."); + println!(" -n, --nasm \tPath to the .nasm/ directory."); println!(" -r, --raw\t\t\tPrint bytes with no formatting at all when disassembling."); println!(" -v, --version\t\t\tPrint the version of this program."); std::process::exit(0); @@ -409,7 +409,7 @@ fn do_disassemble( // Otherwise, print the full range if possible. if !is_nasm_path { - Err("you need to use the '-n/--nasm-directory' on disassembly".to_string()) + Err("you need to use the '-n/--nasm' on disassembly".to_string()) } else if addresses.is_empty() { Err("failed to open the .nasm/addresses.txt file".to_string()) } else { -- cgit v1.2.3