From 2ec87bf69ab9d8ce1536d72c30c884bd1e235a50 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 28 Jan 2026 16:13:22 +0000 Subject: [PATCH] fix: show --build and --host params in pixi add --help Remove `hide = true` from the `--build` and `--host` CLI arguments so they appear in the help output. These are legitimate options that should be discoverable by users. Fixes #5420 https://claude.ai/code/session_017Cij7vZ5DKwnYgKGr7p4wY --- crates/pixi_cli/src/cli_config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/pixi_cli/src/cli_config.rs b/crates/pixi_cli/src/cli_config.rs index 92dc22fcaa..5fedd65d2b 100644 --- a/crates/pixi_cli/src/cli_config.rs +++ b/crates/pixi_cli/src/cli_config.rs @@ -275,12 +275,12 @@ pub struct DependencyConfig { /// The specified dependencies are host dependencies. Conflicts with `build` /// and `pypi` - #[arg(long, conflicts_with_all = ["build", "pypi"], hide = true)] + #[arg(long, conflicts_with_all = ["build", "pypi"])] pub host: bool, /// The specified dependencies are build dependencies. Conflicts with `host` /// and `pypi` - #[arg(long, conflicts_with_all = ["host", "pypi"], hide = true)] + #[arg(long, conflicts_with_all = ["host", "pypi"])] pub build: bool, /// The specified dependencies are pypi dependencies. Conflicts with `host`