cli/unfollow: rename options to args
Have consistent naming for args
This commit is contained in:
parent
3c89525003
commit
6ca1292350
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue