From e7ca97f8d8b0a2e92235771657e48157e5257f2c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 22 Feb 2026 21:37:58 +0900 Subject: fix(licenses): align error messages with Composer output Co-Authored-By: Claude Opus 4.6 --- crates/mozart/src/commands/licenses.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/mozart/src') diff --git a/crates/mozart/src/commands/licenses.rs b/crates/mozart/src/commands/licenses.rs index e8e298a..161b20a 100644 --- a/crates/mozart/src/commands/licenses.rs +++ b/crates/mozart/src/commands/licenses.rs @@ -41,7 +41,7 @@ pub async fn execute( let format = args.format.as_deref().unwrap_or("text"); if format != "text" && format != "json" && format != "summary" { anyhow::bail!( - "Invalid format \"{}\". Supported formats: text, json, summary", + "Unsupported format \"{}\". See help for supported formats.", format ); } @@ -130,7 +130,7 @@ fn load_locked_licenses(working_dir: &Path, no_dev: bool) -> anyhow::Result