From 035e22a6ba3aa38c343b3911b8c9b977bc1fb773 Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Sat, 28 Jun 2025 10:29:38 +0000
Subject: [PATCH] chore: Fix typos
Signed-off-by: Awiteb
---
src/cli/commands/issue/close.rs | 2 +-
src/cli/commands/issue/reopen.rs | 2 +-
src/cli/commands/issue/resolve.rs | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/cli/commands/issue/close.rs b/src/cli/commands/issue/close.rs
index e5b49dd..4392b40 100644
--- a/src/cli/commands/issue/close.rs
+++ b/src/cli/commands/issue/close.rs
@@ -34,7 +34,7 @@ pub struct CloseArgs {
/// If omitted, looks for a `nostr-address` file.
#[arg(value_name = "NADDR-NIP05-OR-SET", long = "repo")]
naddrs: Option>,
- /// The opened issue id to close it
+ /// The open issue id to close it
issue_id: NostrEvent,
}
diff --git a/src/cli/commands/issue/reopen.rs b/src/cli/commands/issue/reopen.rs
index 43ddc7d..88bf40f 100644
--- a/src/cli/commands/issue/reopen.rs
+++ b/src/cli/commands/issue/reopen.rs
@@ -48,7 +48,7 @@ impl CommandRunner for ReopenArgs {
|issue_status| {
if issue_status.is_open() {
return Err(N34Error::InvalidStatus(
- "You can't reopen an opened issue".to_owned(),
+ "You can't reopen an open issue".to_owned(),
));
}
diff --git a/src/cli/commands/issue/resolve.rs b/src/cli/commands/issue/resolve.rs
index 0cc64d1..509dbfc 100644
--- a/src/cli/commands/issue/resolve.rs
+++ b/src/cli/commands/issue/resolve.rs
@@ -34,7 +34,7 @@ pub struct ResolveArgs {
/// If omitted, looks for a `nostr-address` file.
#[arg(value_name = "NADDR-NIP05-OR-SET", long = "repo")]
naddrs: Option>,
- /// The opened issue id to resolve it
+ /// The open issue id to resolve it
issue_id: NostrEvent,
}