Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Value names
Lorenz Leutgeb committed 6 months ago
commit 6226ecd1440f59f74eceba46d2f92d78a81cf1a8
parent 6e30b6976abcd9a34e80d797541fcd891f23f538
1 file changed +5 -10
modified crates/radicle-cli/src/commands/id/args.rs
@@ -127,31 +127,29 @@ pub(super) enum Command {
    #[clap(alias("a"))]
    Accept {
        /// Proposed revision to accept
-
        #[arg(value_name = "REV")]
+
        #[arg(value_name = "REVISION-ID")]
        revision: Rev,
    },
    /// Reject a proposed revision to the identity document
    #[clap(alias("r"))]
    Reject {
        /// Proposed revision to reject
-
        #[arg(value_name = "REV")]
+
        #[arg(value_name = "REVISION-ID")]
        revision: Rev,
    },
    /// Edit an existing revision to the identity document
    #[clap(alias("e"))]
    Edit {
        /// Proposed revision to edit
-
        #[arg(value_name = "REV")]
+
        #[arg(value_name = "REVISION-ID")]
        revision: Rev,

        /// Title of the edit
        #[arg(long)]
-
        #[arg(value_name = "STRING")]
        title: Option<Title>,

        /// Description of the edit
        #[arg(long)]
-
        #[arg(value_name = "STRING")]
        description: Option<String>,
    },
    /// Propose a new revision to the identity document
@@ -159,12 +157,10 @@ pub(super) enum Command {
    Update {
        /// Set the title for the new proposal
        #[arg(long)]
-
        #[arg(value_name = "STRING")]
        title: Option<Title>,

        /// Set the description for the new proposal
        #[arg(long)]
-
        #[arg(value_name = "STRING")]
        description: Option<String>,

        /// Update the identity by adding a new delegate, identified by their DID
@@ -181,7 +177,6 @@ pub(super) enum Command {

        /// Update the identity by setting the number of delegates required to accept a revision
        #[arg(long)]
-
        #[arg(value_name = "NUM")]
        threshold: Option<usize>,

        /// Update the identity by setting the repository's visibility to private or public
@@ -223,14 +218,14 @@ pub(super) enum Command {
    #[clap(alias("s"))]
    Show {
        /// Proposed revision to show
-
        #[arg(value_name = "REV")]
+
        #[arg(value_name = "REVISION-ID")]
        revision: Rev,
    },
    /// Redact a revision
    #[clap(alias("d"))]
    Redact {
        /// Proposed revision to redact
-
        #[arg(value_name = "REV")]
+
        #[arg(value_name = "REVISION-ID")]
        revision: Rev,
    },
}