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 2ca3b41fcdc50895d45ec31a0f5f735a59b194c8
parent 6eb935646aeaf41d7759b093289ba02bdd998f12
1 file changed +4 -4
modified crates/radicle-cli/src/commands/clone/args.rs
@@ -44,11 +44,11 @@ impl From<PrefixedRepoId> for RepoId {

#[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,
}
@@ -95,7 +95,7 @@ pub struct Args {
    #[arg(value_name = "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>,

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

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