fix --args flag not working as intended

This commit is contained in:
2026-03-22 18:36:37 -05:00
parent 84a6196416
commit b999b67ed8
3 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View File

@@ -155,7 +155,7 @@ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
[[package]] [[package]]
name = "pallet" name = "pallet"
version = "1.0.0" version = "1.0.1"
dependencies = [ dependencies = [
"clap", "clap",
"colored", "colored",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "pallet" name = "pallet"
version = "1.0.0" version = "1.0.1"
edition = "2024" edition = "2024"
[dependencies] [dependencies]

View File

@@ -31,6 +31,7 @@ enum Subcommand {
/// The build mode to use /// The build mode to use
mode: Option<String>, mode: Option<String>,
/// Arguments to pass to the project binary /// Arguments to pass to the project binary
#[arg(long, short)]
args: Option<Vec<String>>, args: Option<Vec<String>>,
}, },
/// Build the local project /// Build the local project