fix: spelling in help content

reposotoies ~> repositories
This commit is contained in:
DanConwayDev
2025-06-30 09:46:05 +01:00
committed by Awiteb
parent f3a09d30ea
commit 7c589f1c6c
3 changed files with 3 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ pub struct CliOptions {
/// N34 commands /// N34 commands
#[derive(Parser, Debug)] #[derive(Parser, Debug)]
pub enum Commands { pub enum Commands {
/// Manage reposotoies and relays sets /// Manage repositories and relays sets
Sets { Sets {
#[command(subcommand)] #[command(subcommand)]
subcommands: SetsSubcommands, subcommands: SetsSubcommands,

View File

@@ -216,7 +216,7 @@ impl NostrClient {
.to_vec()) .to_vec())
} }
/// Try to fetch the reposotoies and returns them /// Try to fetch the repositories and returns them
pub async fn fetch_repos( pub async fn fetch_repos(
&self, &self,
repo_naddrs: &[Coordinate], repo_naddrs: &[Coordinate],

View File

@@ -207,7 +207,7 @@ impl Vec<Nip19Coordinate> {
/// Utility functions for working with lists of repository announcement /// Utility functions for working with lists of repository announcement
#[easy_ext::ext(ReposUtils)] #[easy_ext::ext(ReposUtils)]
impl Vec<GitRepositoryAnnouncement> { impl Vec<GitRepositoryAnnouncement> {
/// Extracts all relay URLs from these reposotoies /// Extracts all relay URLs from these repositories
pub fn extract_relays(&self) -> Vec<RelayUrl> { pub fn extract_relays(&self) -> Vec<RelayUrl> {
self.iter().flat_map(|n| n.relays.clone()).collect() self.iter().flat_map(|n| n.relays.clone()).collect()
} }