diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index 67a4e9aa50c28..cece6a4eb6834 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -3531,7 +3531,7 @@ pub struct RunArgs { /// /// uv includes the groups defined in `tool.uv.default-groups` by default. /// This disables that option, however, specific groups can still be included with `--group`. - #[arg(long, env = EnvVars::UV_NO_DEFAULT_GROUPS)] + #[arg(long, env = EnvVars::UV_NO_DEFAULT_GROUPS, value_parser = clap::builder::BoolishValueParser::new())] pub no_default_groups: bool, /// Only include dependencies from the specified dependency group. @@ -3869,7 +3869,7 @@ pub struct SyncArgs { /// /// uv includes the groups defined in `tool.uv.default-groups` by default. /// This disables that option, however, specific groups can still be included with `--group`. - #[arg(long, env = EnvVars::UV_NO_DEFAULT_GROUPS)] + #[arg(long, env = EnvVars::UV_NO_DEFAULT_GROUPS, value_parser = clap::builder::BoolishValueParser::new())] pub no_default_groups: bool, /// Only include dependencies from the specified dependency group. @@ -4684,7 +4684,7 @@ pub struct TreeArgs { /// /// uv includes the groups defined in `tool.uv.default-groups` by default. /// This disables that option, however, specific groups can still be included with `--group`. - #[arg(long, env = EnvVars::UV_NO_DEFAULT_GROUPS)] + #[arg(long, env = EnvVars::UV_NO_DEFAULT_GROUPS, value_parser = clap::builder::BoolishValueParser::new())] pub no_default_groups: bool, /// Only include dependencies from the specified dependency group. @@ -4861,7 +4861,7 @@ pub struct ExportArgs { /// /// uv includes the groups defined in `tool.uv.default-groups` by default. /// This disables that option, however, specific groups can still be included with `--group`. - #[arg(long, env = EnvVars::UV_NO_DEFAULT_GROUPS)] + #[arg(long, env = EnvVars::UV_NO_DEFAULT_GROUPS, value_parser = clap::builder::BoolishValueParser::new())] pub no_default_groups: bool, /// Only include dependencies from the specified dependency group.