diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-09-02 07:29:24 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-09-02 07:29:24 +0200 |
| commit | fb2d20e715dd04d27c4873c4989202133783f161 (patch) | |
| tree | 83d993883dcaa358c807743d0d16b57375a63280 /crates/xa65 | |
| parent | 834e286af70b7e65a72316fddc4fa3c0c429ced8 (diff) | |
| download | tools.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/xa65')
| -rw-r--r-- | crates/xa65/src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/xa65/src/main.rs b/crates/xa65/src/main.rs index 6ac51c6..4fe034b 100644 --- a/crates/xa65/src/main.rs +++ b/crates/xa65/src/main.rs @@ -24,9 +24,11 @@ fn print_help() { println!("Options:"); println!(" -b, --bin <PROGRAM>\tAlternative to the binary for 'nasm'."); println!(" -C, --config <FILE>\tLinker configuration to be used, whether an identifier or a file path."); - println!(" -s, --strict\tError out if the output differ or 'nasm' has produced an error."); + println!(" -h, --help\t\tPrint this message."); + println!(" -s, --strict\t\tError out if the output differ or 'nasm' has produced an error."); println!(" -o, --out <FILE>\tFile path where the output should be located after execution."); println!(" --target nes\t\tUsed for compatibility with 'ca65'."); + println!(" -v, --version\t\tPrint the version of this program."); std::process::exit(0); } |
