cli/unfollow: rename options to args

Have consistent naming for args
This commit is contained in:
Fintan Halpenny 2025-10-29 09:13:35 +00:00 committed by Lorenz Leutgeb
parent 3c89525003
commit 6ca1292350
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@ 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());
let nid = options.nid;
let nid = args.nid;
let unfollowed = match node.unfollow(nid) {
Ok(updated) => updated,