aboutsummaryrefslogtreecommitdiff
path: root/crates/readrom/src
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-09-02 07:29:24 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-09-02 07:29:24 +0200
commitfb2d20e715dd04d27c4873c4989202133783f161 (patch)
tree83d993883dcaa358c807743d0d16b57375a63280 /crates/readrom/src
parent834e286af70b7e65a72316fddc4fa3c0c429ced8 (diff)
downloadtools.nes-fb2d20e715dd04d27c4873c4989202133783f161.tar.gz
tools.nes-fb2d20e715dd04d27c4873c4989202133783f161.zip
Add -h and -v options on the help message
On all binaries there were these two options missing from the help message. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'crates/readrom/src')
-rw-r--r--crates/readrom/src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/readrom/src/main.rs b/crates/readrom/src/main.rs
index 4308d2e..e930e0e 100644
--- a/crates/readrom/src/main.rs
+++ b/crates/readrom/src/main.rs
@@ -15,7 +15,9 @@ fn print_help() {
println!("Display information about NES/Famicom ROM files.\n");
println!("usage: readrom [OPTIONS] <FILE>\n");
println!("Options:");
- println!(" -H, --header\tJust print the ROM header and quit.");
+ println!(" -h, --help\t\tPrint this message.");
+ println!(" -H, --header\t\tJust print the ROM header and quit.");
+ println!(" -v, --version\t\tPrint the version of this program.");
std::process::exit(0);
}