fix: spelling in help content
reposotoies ~> repositories
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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],
|
||||||
|
|||||||
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user