From a5efb11c5b46f50cc3775eb45465395cbaf11f07 Mon Sep 17 00:00:00 2001
From: GideonBature <infoaboutgideon@gmail.com>
Date: Fri, 4 Apr 2025 11:43:35 +0100
Subject: [PATCH] chore(verify): update error message for unsupported versions

---
 verify/src/main.rs | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/verify/src/main.rs b/verify/src/main.rs
index 6856913c..2826808c 100644
--- a/verify/src/main.rs
+++ b/verify/src/main.rs
@@ -43,10 +43,8 @@ fn main() -> Result<()> {
     } else if let Ok(v) = version.parse::<Version>() {
         verify_version(v, test_output, quiet)?;
     } else {
-        eprint!("Unrecognised version: {} (supported versions:", version);
-        for version in VERSIONS {
-            eprint!(" {}", version);
-        }
+        eprint!("Unrecognised version: {} (supported versions: ", version);
+        eprint!("{} - {}", VERSIONS[0], VERSIONS[VERSIONS.len() - 1]);
         eprintln!(")");
         process::exit(1);
     }