Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Fixup argument docs
Erik Kundt committed 7 months ago
commit c5ce26f5269d1358f7804d695de560fdf394166e
parent a160b1d3901072e8225ec270290356f680c5254c
1 file changed +4 -4
modified crates/radicle-cli/src/commands/clone/args.rs
@@ -26,11 +26,11 @@ fn parse_rid(value: &str) -> Result<RepoId, IdError> {

#[derive(Debug, Parser)]
pub(super) struct SyncArgs {
-
    /// Clone from this seed (may be specified multiple times).
+
    /// Clone from this seed (may be specified multiple times)
    #[arg(short, long = "seed", value_name = "NID", action = clap::ArgAction::Append)]
    seeds: Vec<NodeId>,

-
    /// Timeout for fetching repository in seconds.
+
    /// Timeout for fetching repository in seconds
    #[arg(long, default_value_t = 9, value_name = "SECS")]
    timeout: usize,
}
@@ -77,7 +77,7 @@ pub struct Args {
    #[arg(value_name = "RID", value_parser = parse_rid)]
    pub(super) repo: RepoId,

-
    /// The target directory for the repository to be cloned into.
+
    /// The target directory for the repository to be cloned into
    #[arg(value_name = "PATH")]
    pub(super) directory: Option<PathBuf>,

@@ -88,7 +88,7 @@ pub struct Args {
    #[clap(flatten)]
    pub(super) sync: SyncArgs,

-
    /// Make a bare repository.
+
    /// Make a bare repository
    #[arg(long)]
    pub(super) bare: bool,