From 9cd08a01db72752e4d844818ba9bc3e4f1912f9c Mon Sep 17 00:00:00 2001 From: cloudhead Date: Tue, 30 Apr 2024 22:07:04 +0200 Subject: [PATCH] cli: Small improvements to `rad auth` error output --- radicle-cli/src/commands/auth.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicle-cli/src/commands/auth.rs b/radicle-cli/src/commands/auth.rs index 94d06674..38bfe3f9 100644 --- a/radicle-cli/src/commands/auth.rs +++ b/radicle-cli/src/commands/auth.rs @@ -84,13 +84,13 @@ pub fn init(options: Options) -> anyhow::Result<()> { if let Ok(version) = radicle::git::version() { if version < radicle::git::VERSION_REQUIRED { term::warning(format!( - "Your git version is unsupported, please upgrade to {} or later", + "Your Git version is unsupported, please upgrade to {} or later", radicle::git::VERSION_REQUIRED, )); term::blank(); } } else { - anyhow::bail!("Error retrieving git version; please check your installation"); + anyhow::bail!("a Git installation is required for Radicle to run"); } let alias: Alias = if let Some(alias) = options.alias {