From 7c035acc6e282cdbaa3b0060a528660fa0dba0d4 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 22 Nov 2026 18:58:26 +0100 Subject: 0.12.1: accept `command` as an alias for `cmd` in bash A field report showed ~40% of bash calls died on a one-word slip (command vs cmd); the alias removes the failure class instead of improving the error for it. --- src/ui.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui.rs') diff --git a/src/ui.rs b/src/ui.rs index 1d59ac4..e778eee 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -113,6 +113,7 @@ pub fn tool_line(label: &str, name: &str, args: &serde_json::Value, include_deta let detail = match name { "bash" => args .get("cmd") + .or_else(|| args.get("command")) .and_then(|v| v.as_str()) .unwrap_or("") .to_string(), -- cgit v1.2.3