Use UV_WORKING_DIR for consistency (#16884)

## Summary

Closes https://github.com/astral-sh/uv/issues/16870.
This commit is contained in:
Charlie Marsh
2025-11-30 10:59:05 -05:00
committed by GitHub
parent c29304aaca
commit 0ae54dbd8a
6 changed files with 76 additions and 63 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ pub struct GlobalArgs {
/// Relative paths are resolved with the given directory as the base.
///
/// See `--project` to only change the project root directory.
#[arg(global = true, long, env = EnvVars::UV_WORKING_DIRECTORY)]
#[arg(global = true, long, env = EnvVars::UV_WORKING_DIR)]
pub directory: Option<PathBuf>,
/// Run the command within the given project directory.