Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli/unseed: rename options to args
Fintan Halpenny committed 6 months ago
commit 5053a1aa777d4777ce2e1f4780c34a777d393e66
parent 6ca129235045846ad1dd644a0ab362dd4107a7fe
1 file changed +2 -2
modified crates/radicle-cli/src/commands/unseed.rs
@@ -7,11 +7,11 @@ use crate::terminal as term;
pub use args::Args;
pub(crate) use args::ABOUT;

-
pub fn run(options: Args, ctx: impl term::Context) -> anyhow::Result<()> {
+
pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> {
    let profile = ctx.profile()?;
    let mut node = radicle::Node::new(profile.socket());

-
    for rid in options.rids {
+
    for rid in args.rids {
        delete(rid, &mut node, &profile)?;
    }