mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-05 10:10:35 +00:00
Apply review fixes
- apps/designcraft-cli/src/main.rs
This commit is contained in:
1 parent
61ed22140a
commit
65c4db30e1
1 file changed
+1
-1
@@ -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!(
|
||||
|
||||
Reference in new issue
Block a user