aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-08-26 08:20:08 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-08-26 08:20:08 +0200
commit68b38094cc8a42e31b5635b3a0e1f20c82acd0c2 (patch)
treee61bf277b1a082f8ff96d8c1643a71784ff609d5
parenteba477358f272e99caf6d3cf99ca345f38eab037 (diff)
downloadtools.nes-68b38094cc8a42e31b5635b3a0e1f20c82acd0c2.tar.gz
tools.nes-68b38094cc8a42e31b5635b3a0e1f20c82acd0c2.zip
readrom: fix help message on --nasm
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
-rw-r--r--crates/readrom/src/main.rs4
1 files changed, 2 insertions, 2 deletions
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 <NAME>\t\t\tDisassemble the mapped segments as referenced by NAME.");
- println!(" -n, --nasm-directory <PATH>\tPath to the .nasm/ directory.");
+ println!(" -n, --nasm <PATH>\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 {