aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-02-03 19:03:12 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-02-03 19:03:12 +0100
commitbf594c611fb6066efded621f4ff301b7d78a9aed (patch)
treeb71c6845207014440eb6d92181a3a7b99410fcb1 /crates
parent15cb0fb33aca361848c9f64b3ac54166768527bd (diff)
downloadtools.nes-bf594c611fb6066efded621f4ff301b7d78a9aed.tar.gz
tools.nes-bf594c611fb6066efded621f4ff301b7d78a9aed.zip
nasm: improve message on the -D flag
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'crates')
-rw-r--r--crates/nasm/src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/nasm/src/main.rs b/crates/nasm/src/main.rs
index e6c0042..007b897 100644
--- a/crates/nasm/src/main.rs
+++ b/crates/nasm/src/main.rs
@@ -29,7 +29,9 @@ fn print_help() {
println!("Options:");
println!(" -a, --asan\t\tEnable the Address Sanitizer.");
println!(" -c, --config <FILE>\tLinker configuration to be used, whether an identifier or a file path.");
- println!(" -D <NAME>(=VALUE)\tDefine an 8-bit variable on the global scope (default: 1)");
+ println!(
+ " -D <NAME>(=VALUE)\tDefine an 8-bit variable on the global scope ('VALUE' defaults to '1')"
+ );
println!(" -h, --help\t\tPrint this message.");
println!(" -o, --out <FILE>\tFile path where the output should be located after execution.");
println!(" --prelude\t\tPrint the 'prelude' file; a file that can be used for defining default implementations for nasm-only features.");