diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-08-26 08:21:53 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-08-26 08:21:53 +0200 |
| commit | 2df68007e5e3640c02ada107851c7b5bb96072da (patch) | |
| tree | 17cba3942cc7e6e4b69790e39ef99d90b67f0904 | |
| parent | 68b38094cc8a42e31b5635b3a0e1f20c82acd0c2 (diff) | |
| download | tools.nes-2df68007e5e3640c02ada107851c7b5bb96072da.tar.gz tools.nes-2df68007e5e3640c02ada107851c7b5bb96072da.zip | |
{read,run}rom: fix format of help message
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
| -rw-r--r-- | crates/readrom/src/main.rs | 8 | ||||
| -rw-r--r-- | crates/runrom/src/main.rs | 10 |
2 files changed, 9 insertions, 9 deletions
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] <FILE>\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 <FILE>\tLinker configuration to be used, whether an identifier or a file path." + " -c, --config <FILE>\t\tLinker configuration to be used, whether an identifier or a file path." ); println!(" -d, --disassemble <ADDRESS>\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 <NAME>\t\t\tDisassemble the mapped segments as referenced by NAME."); - println!(" -n, --nasm <PATH>\tPath to the .nasm/ directory."); + println!(" -m, --mapping <NAME>\t\tDisassemble the mapped segments as referenced by NAME."); + println!(" -n, --nasm <PATH>\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] <FILE>\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 <PATH>\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); } |
