Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli/init: Remove unnecessary `clap` conflict rule
Archived did:key:z6MkgFq6...nBGz opened 6 months ago

This removes an unnecessary conflict rule from the mutually exclusive arguments --private and --public. Conflict rules only need to be set for one of the two arguments, they do not need to be set for each.

1 file changed +1 -1 191c2879 43ecda9b
modified crates/radicle-cli/src/commands/init/args.rs
@@ -36,7 +36,7 @@ pub struct Args {
    #[arg(long, conflicts_with = "public")]
    private: bool,
    /// Set repository visibility to *public*
-
    #[arg(long, conflicts_with = "private")]
+
    #[arg(long)]
    public: bool,
    /// Setup repository as an existing Radicle repository
    ///