From 78113c74026f07fb133faad66ef54f16e1174311 Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Sat, 2 Aug 2025 09:14:21 +0000
Subject: [PATCH] docs: Fix status command docs
Signed-off-by: Awiteb
---
docs/repo/announce.md | 2 +-
src/cli/commands/issue/mod.rs | 2 +-
src/cli/commands/issue/resolve.rs | 2 +-
src/cli/commands/patch/mod.rs | 2 +-
src/cli/commands/repo/mod.rs | 4 +---
5 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/docs/repo/announce.md b/docs/repo/announce.md
index 2e0be07..bac296d 100644
--- a/docs/repo/announce.md
+++ b/docs/repo/announce.md
@@ -4,7 +4,7 @@
**Usage:**
```
-Publish information about a git repository to Nostr for collaboration and feedback. Can also be used to update an existing repository's details
+Broadcast and update a git repository
Usage: n34 repo announce [OPTIONS] --id
diff --git a/src/cli/commands/issue/mod.rs b/src/cli/commands/issue/mod.rs
index 6ec4230..85dea65 100644
--- a/src/cli/commands/issue/mod.rs
+++ b/src/cli/commands/issue/mod.rs
@@ -54,7 +54,7 @@ pub enum IssueSubcommands {
Reopen(ReopenArgs),
/// Closes an open issue.
Close(CloseArgs),
- /// Resolves an open issue.
+ /// Resolves an issue.
Resolve(ResolveArgs),
/// List the repositories issues.
List(ListArgs),
diff --git a/src/cli/commands/issue/resolve.rs b/src/cli/commands/issue/resolve.rs
index 509dbfc..aa865a2 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 open issue id to resolve it
+ /// The issue id to resolve it
issue_id: NostrEvent,
}
diff --git a/src/cli/commands/patch/mod.rs b/src/cli/commands/patch/mod.rs
index 6089fdd..99d49f9 100644
--- a/src/cli/commands/patch/mod.rs
+++ b/src/cli/commands/patch/mod.rs
@@ -74,7 +74,7 @@ pub enum PatchSubcommands {
Fetch(FetchArgs),
/// Closes an open or drafted patch.
Close(CloseArgs),
- /// Converts the closed or open patch to draft state.
+ /// Converts an open patch to draft state.
Draft(DraftArgs),
/// Reopens a closed or drafted patch.
Reopen(ReopenArgs),
diff --git a/src/cli/commands/repo/mod.rs b/src/cli/commands/repo/mod.rs
index 343f7ba..7ac8d7c 100644
--- a/src/cli/commands/repo/mod.rs
+++ b/src/cli/commands/repo/mod.rs
@@ -30,9 +30,7 @@ use crate::error::N34Result;
pub enum RepoSubcommands {
/// View details of a nostr git repository
View(ViewArgs),
- /// Publish information about a git repository to Nostr for collaboration
- /// and feedback. Can also be used to update an existing repository's
- /// details.
+ /// Broadcast and update a git repository
Announce(AnnounceArgs),
}