From 87bb4d78406ec5f8a09db105728a299cfe726610 Mon Sep 17 00:00:00 2001 From: Cyborus Date: Tue, 12 Dec 2023 20:10:23 -0500 Subject: [PATCH] format --- src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1445706..ad62b50 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,7 +12,7 @@ mod repo; #[derive(Parser, Debug)] pub struct App { - #[clap(long, short='R')] + #[clap(long, short = 'R')] remote: Option, #[clap(subcommand)] command: Command, @@ -44,7 +44,9 @@ async fn main() -> eyre::Result<()> { let host = host.map(|host| Url::parse(&host)).transpose()?; let url = match host { Some(url) => url, - None => repo::RepoInfo::get_current(args.remote.as_deref())?.url().clone(), + None => repo::RepoInfo::get_current(args.remote.as_deref())? + .url() + .clone(), }; let name = keys.get_login(&url)?.username(); eprintln!("currently signed in to {name}@{url}");