From 612af0aaacda404b8e177d0c1a6d3bd937e8d39a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 23 Feb 2026 01:52:22 +0900 Subject: fix(update): implement --with constraints, inline shorthand, and APCu passthrough - Parse and apply --with temporary constraints to the resolver - Support inline constraint shorthand (vendor/pkg:1.0.*) - Reject --lock combined with specific package names - Filter magic keywords (lock/nothing/mirrors) from package list - Pass APCu CLI flags through to InstallConfig instead of hardcoding Co-Authored-By: Claude Opus 4.6 --- crates/mozart/src/commands/show.rs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'crates/mozart/src/commands/show.rs') diff --git a/crates/mozart/src/commands/show.rs b/crates/mozart/src/commands/show.rs index 9eae36e..f194bce 100644 --- a/crates/mozart/src/commands/show.rs +++ b/crates/mozart/src/commands/show.rs @@ -138,12 +138,14 @@ pub async fn execute( // Fix 5: --format with invalid value if let Some(ref fmt) = args.format - && fmt != "text" && fmt != "json" { - anyhow::bail!( - "Unsupported format \"{}\". See help for supported formats.", - fmt - ); - } + && fmt != "text" + && fmt != "json" + { + anyhow::bail!( + "Unsupported format \"{}\". See help for supported formats.", + fmt + ); + } // Fix 6: --self with a package argument if args.self_info && args.package.is_some() { -- cgit v1.3.1