Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Print example values in help output
Erik Kundt committed 8 months ago
commit 3117b773a32d9f7fbe50aa0174bc984cc2c11381
parent 5c312bfef3af2df83103db579cf269ab5df7626c
1 file changed +5 -1
modified crates/radicle-cli/src/commands/block/args.rs
@@ -43,6 +43,10 @@ impl std::fmt::Display for Target {
#[command(about = ABOUT, disable_version_flag = true)]
pub struct Args {
    /// A Repository ID or Node ID to block from seeding or following (respectively)
-
    #[arg(value_name = "RID|NID")]
+
    ///
+
    /// Example values:
+
    /// - z6MkiswaKJ85vafhffCGBu2gdBsYoDAyHVBWRxL3j297fwS9 (Node ID)
+
    /// - rad:z3Tr6bC7ctEg2EHmLvknUr29mEDLH (Repository ID)
+
    #[arg(value_name = "RID|NID", verbatim_doc_comment)]
    pub(super) target: Target,
}