From 536d038f9b70915899286437a9918b70c7475831 Mon Sep 17 00:00:00 2001 From: Matthijs Kok Date: Fri, 22 Nov 2024 15:51:53 +0100 Subject: [PATCH] docs: reference `--no-progress` option in related environment variable (#9357) ## Summary Aligns the description of `UV_NO_PROGRESS` with other env vars that also have a related flag. `--no-progress` is a "global option" and exists in every command. --------- Co-authored-by: Zanie Blue --- crates/uv-static/src/env_vars.rs | 3 ++- docs/configuration/environment.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/uv-static/src/env_vars.rs b/crates/uv-static/src/env_vars.rs index 6c7aa66d1..b8fd8f4aa 100644 --- a/crates/uv-static/src/env_vars.rs +++ b/crates/uv-static/src/env_vars.rs @@ -186,7 +186,8 @@ impl EnvVars { /// packages. pub const UV_CONCURRENT_INSTALLS: &'static str = "UV_CONCURRENT_INSTALLS"; - /// Disables all progress output. For example, spinners and progress bars. + /// Equivalent to the `--no-progress` command-line argument. Disables all progress output. For + /// example, spinners and progress bars. pub const UV_NO_PROGRESS: &'static str = "UV_NO_PROGRESS"; /// Specifies the directory where uv stores managed tools. diff --git a/docs/configuration/environment.md b/docs/configuration/environment.md index ce50cdcde..3a32cdde5 100644 --- a/docs/configuration/environment.md +++ b/docs/configuration/environment.md @@ -181,7 +181,8 @@ Ignore `.env` files when executing `uv run` commands. ### `UV_NO_PROGRESS` -Disables all progress output. For example, spinners and progress bars. +Equivalent to the `--no-progress` command-line argument. Disables all progress output. For +example, spinners and progress bars. ### `UV_NO_SYNC`