From 6467bc3bb5bf967d1d46f72de7b7adef2f1bcdb9 Mon Sep 17 00:00:00 2001 From: Awiteb Date: Sun, 29 Jun 2025 20:24:47 +0000 Subject: [PATCH] remove: Remove the `--to` flag from `reply` command and make it an argument Signed-off-by: Awiteb --- CHANGELOG.md | 1 + src/cli/commands/reply.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1472618..c9ef9bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed - Remove the `--repo` option and make the repo an argument - by Awiteb +- Remove the `--to` flag from `reply` command and make it an argument - by Awiteb ## [0.2.0] - 2025-06-01 diff --git a/src/cli/commands/reply.rs b/src/cli/commands/reply.rs index 1c56641..17a70f8 100644 --- a/src/cli/commands/reply.rs +++ b/src/cli/commands/reply.rs @@ -54,7 +54,7 @@ const MAX_DATE: i64 = 253370764800; )] pub struct ReplyArgs { /// The issue, patch, or comment to reply to - #[arg(long, value_name = "nevent1-or-note1")] + #[arg(value_name = "nevent1-or-note1")] to: NostrEvent, /// Quote the replied-to event in the editor #[arg(long)]