Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Fix argument value names in `auth` and `init`
✗ CI failure Erik Kundt committed 6 months ago
commit 44a3bf7026c4f825a32b84bcc6f68c973b9467e7
parent 634866889f30736ef07839796ffd3482239121fb
2 failed (2 total) View logs
2 files changed +4 -4
modified crates/radicle-cli/src/commands/auth/args.rs
@@ -12,7 +12,7 @@ methods disables the passphrase prompt.
#[command(about = ABOUT, long_about = LONG_ABOUT, disable_version_flag = true)]
pub struct Args {
    /// When initializing an identity, sets the node alias
-
    #[arg(long, value_name = "STRING")]
+
    #[arg(long)]
    pub alias: Option<Alias>,

    /// Read passphrase from stdin
modified crates/radicle-cli/src/commands/init/args.rs
@@ -16,13 +16,13 @@ pub struct Args {
    /// Directory to be initialized
    pub(super) path: Option<PathBuf>,
    /// Name of the repository
-
    #[arg(long, value_name = "STRING")]
+
    #[arg(long)]
    pub(super) name: Option<ProjectName>,
    /// Description of the repository
-
    #[arg(long, value_name = "STRING")]
+
    #[arg(long)]
    pub(super) description: Option<String>,
    /// The default branch of the repository
-
    #[arg(long = "default-branch", value_name = "STRING")]
+
    #[arg(long = "default-branch")]
    pub(super) branch: Option<String>,
    /// Repository follow scope
    #[arg(