From 2df68007e5e3640c02ada107851c7b5bb96072da Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 26 Aug 2026 08:21:53 +0200 Subject: {read,run}rom: fix format of help message 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 | 8 ++++---- crates/runrom/src/main.rs | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'crates') diff --git a/crates/readrom/src/main.rs b/crates/readrom/src/main.rs index a7f05b0..fc124e9 100644 --- a/crates/readrom/src/main.rs +++ b/crates/readrom/src/main.rs @@ -25,15 +25,15 @@ fn print_help() { println!("Display information about NES/Famicom ROM files.\n"); println!("usage: readrom [OPTIONS] \n"); println!("Options:"); - println!(" -a, --disassemble-all\tDisassemble everything from the ROM file."); + println!(" -a, --disassemble-all\t\tDisassemble everything from the ROM file."); println!( - " -c, --config \tLinker configuration to be used, whether an identifier or a file path." + " -c, --config \t\tLinker configuration to be used, whether an identifier or a file path." ); println!(" -d, --disassemble
\tDisassemble starting from the given ADDRESS."); 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 \tPath to the .nasm/ directory."); + println!(" -m, --mapping \t\tDisassemble the mapped segments as referenced by NAME."); + println!(" -n, --nasm \t\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); diff --git a/crates/runrom/src/main.rs b/crates/runrom/src/main.rs index cd886a8..6d19a98 100644 --- a/crates/runrom/src/main.rs +++ b/crates/runrom/src/main.rs @@ -22,12 +22,12 @@ fn print_help() { println!("Run an NES/Famicom ROM to test its code under a set of conditions.\n"); println!("usage: runrom [OPTIONS] \n"); println!("Options:"); - println!(" -d, --dump-memory\tShow the memory that has changed after a run."); - println!(" -f, --function\tRun the code by assuming it's a function."); - println!(" -h, --help\t\tPrint this message and quit."); + println!(" -d, --dump-memory\t\tShow the memory that has changed after a run."); + println!(" -f, --function\t\tRun the code by assuming it's a function."); + println!(" -h, --help\t\t\tPrint this message and quit."); println!(" -n, --nasm-directory \tPath to the .nasm/ directory."); - println!(" -s, --start\t\tAddress from where to start (default: reset vector)."); - println!(" -v, --version\t\tPrint version information."); + println!(" -s, --start\t\t\tAddress from where to start (default: reset vector)."); + println!(" -v, --version\t\t\tPrint version information."); std::process::exit(0); } -- cgit v1.2.3