From 45ea7d25f22e36a8a60be819dd70ebb9f97abff2 Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Sun, 29 Jun 2025 20:16:07 +0000
Subject: [PATCH] remove: Remove the `--repo` option and make the repo an
argument
Signed-off-by: Awiteb
---
CHANGELOG.md | 4 ++++
src/cli/commands/repo/view.rs | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4ab47c4..09acdb4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -33,6 +33,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Store the config in `CliOptions` instead of its path - by Awiteb
- Improve commands running and make the signer optional for some commands - by Awiteb
+### Removed
+
+- Remove the `--repo` option and make the repo an argument - by Awiteb
+
## [0.2.0] - 2025-06-01
### Added
diff --git a/src/cli/commands/repo/view.rs b/src/cli/commands/repo/view.rs
index 80b15ed..583e726 100644
--- a/src/cli/commands/repo/view.rs
+++ b/src/cli/commands/repo/view.rs
@@ -35,7 +35,7 @@ pub struct ViewArgs {
/// (`4rs.nl/n34` or `_@4rs.nl/n34`), or a set name like `kernel`.
///
/// If omitted, looks for a `nostr-address` file.
- #[arg(value_name = "NADDR-NIP05-OR-SET", long = "repo")]
+ #[arg(value_name = "NADDR-NIP05-OR-SET")]
naddrs: Option>,
}