fix(n34-patch-apply): required the applied_commits

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-08-21 15:01:38 +00:00
parent 5e76e413ab
commit 089b62a0ef

View File

@@ -42,8 +42,8 @@ pub struct ApplyArgs {
/// been applied, not all. /// been applied, not all.
#[arg(long = "patches", value_name = "PATCH-EVENT-ID")] #[arg(long = "patches", value_name = "PATCH-EVENT-ID")]
applied_patches: Vec<NostrEvent>, applied_patches: Vec<NostrEvent>,
/// The applied commits /// The applied commits.
#[arg(num_args = 1..)] #[arg(required = true)]
applied_commits: Vec<Sha1Hash>, applied_commits: Vec<Sha1Hash>,
} }