From 65c4db30e1be4c4275140f71271be59b247d7c2d Mon Sep 17 00:00:00 2001 From: aiongg <67543387+aiongg@users.noreply.github.com> Date: Tue, 3 Nov 2026 21:48:08 +0000 Subject: [PATCH] Apply review fixes - apps/designcraft-cli/src/main.rs --- apps/designcraft-cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/designcraft-cli/src/main.rs b/apps/designcraft-cli/src/main.rs index 2882ef059..c106ae544 100644 --- a/apps/designcraft-cli/src/main.rs +++ b/apps/designcraft-cli/src/main.rs @@ -345,7 +345,7 @@ fn mcp(args: &[String]) -> Result<(), String> { continue; } match a.as_str() { - "--connect" => connect = Some(it.next().ok_or("--connect needs a port or host:port")?), + "--connect" => connect = Some(value(&a, it.next().as_ref())?), "--sample" => sample = true, other => { return Err(format!(