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}");