From 2ac8e4654344bdb58f684845ebe590a518a43a7c Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 10 Jan 2025 23:19:34 +0100 Subject: xa65: The config flag should be uppercase on short MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For compatibility with cl65, it's preferrable to keep the short version of the flag as with cl65. Signed-off-by: Miquel Sabaté Solà --- crates/xa65/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/xa65/src/main.rs') 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, /// 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 -- cgit v1.2.3