aboutsummaryrefslogtreecommitdiff
path: root/crates/xa65/src/main.rs
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-10 23:19:34 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-10 23:19:34 +0100
commit2ac8e4654344bdb58f684845ebe590a518a43a7c (patch)
tree14af212b83b15b8a430613409f9354f7fc8cd084 /crates/xa65/src/main.rs
parent7a67a9d39150668fcec769040ee86803e2c34aea (diff)
downloadtools.nes-2ac8e4654344bdb58f684845ebe590a518a43a7c.tar.gz
tools.nes-2ac8e4654344bdb58f684845ebe590a518a43a7c.zip
xa65: The config flag should be uppercase on short
For compatibility with cl65, it's preferrable to keep the short version of the flag as with cl65. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'crates/xa65/src/main.rs')
-rw-r--r--crates/xa65/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/xa65/src/main.rs b/crates/xa65/src/main.rs
index 5c06f5e..5d46ec1 100644
--- a/crates/xa65/src/main.rs
+++ b/crates/xa65/src/main.rs
@@ -14,7 +14,7 @@ struct Args {
/// for the configurations already baked in into this application, or it can
/// be a file path to a configuration of your choosing. See the
/// documentation for more information on this format. Defaults to 'nrom'.
- #[arg(short = 'c', long)]
+ #[arg(short = 'C', long = "config")]
config: Option<String>,
/// Used for compatibility with 'ca65'.
@@ -117,7 +117,7 @@ fn main() {
.arg("-o")
.arg(dir.join("cl65.nes"));
if let Some(config) = &args.config {
- cl65_command.arg("-c").arg(config);
+ cl65_command.arg("-C").arg(config);
}
// Here, and in contrast with the 'nasm' execution, we do care about the