diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index 3a7d06183..ee02181e2 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -3733,7 +3733,7 @@ pub struct LockArgs { /// missing or needs to be updated, uv will exit with an error. /// /// Equivalent to `--locked`. - #[arg(long, env = EnvVars::UV_LOCKED, value_parser = clap::builder::BoolishValueParser::new(), conflicts_with_all = ["check_exists", "upgrade", "locked"])] + #[arg(long, value_parser = clap::builder::BoolishValueParser::new(), conflicts_with_all = ["check_exists", "upgrade", "locked"])] pub check: bool, /// Check if the lockfile is up-to-date. diff --git a/docs/reference/cli.md b/docs/reference/cli.md index 6ddf7bcd0..be08c8aac 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -1637,7 +1637,7 @@ uv lock [OPTIONS]
May also be set with the UV_CACHE_DIR environment variable.
--checkCheck if the lockfile is up-to-date.
Asserts that the uv.lock would remain unchanged after a resolution. If the lockfile is missing or needs to be updated, uv will exit with an error.
Equivalent to --locked.
May also be set with the UV_LOCKED environment variable.
--check-exists, --frozenAssert that a uv.lock exists without checking if it is up-to-date.
--check-exists, --frozenAssert that a uv.lock exists without checking if it is up-to-date.
Equivalent to --frozen.
May also be set with the UV_FROZEN environment variable.
--color color-choiceControl the use of color in output.
By default, uv will automatically detect support for colors when writing to a terminal.