From b6883ed7fbcdb3d36a6be7007b754aef3a5caca8 Mon Sep 17 00:00:00 2001 From: Andrey Bozhko Date: Thu, 24 Oct 2024 07:21:56 -0500 Subject: [PATCH] Fix typo in description of `--strict` flag (#8513) ## Summary Fix the flag description: `to detect and with` --> `to detect packages with` --- crates/uv-cli/src/lib.rs | 4 ++-- docs/reference/cli.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index 81d350aa0182..d75a582253d6 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -1423,7 +1423,7 @@ pub struct PipSyncArgs { #[arg(long)] pub python_platform: Option, - /// Validate the Python environment after completing the installation, to detect and with + /// Validate the Python environment after completing the installation, to detect packages with /// missing dependencies or other issues. #[arg(long, overrides_with("no_strict"))] pub strict: bool, @@ -1711,7 +1711,7 @@ pub struct PipInstallArgs { #[arg(long, overrides_with("inexact"))] pub exact: bool, - /// Validate the Python environment after completing the installation, to detect and with + /// Validate the Python environment after completing the installation, to detect packages with /// missing dependencies or other issues. #[arg(long, overrides_with("no_strict"))] pub strict: bool, diff --git a/docs/reference/cli.md b/docs/reference/cli.md index a5cdcd5fc781..238ad49d5003 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -5540,7 +5540,7 @@ uv pip sync [OPTIONS] ...

May also be set with the UV_REQUIRE_HASHES environment variable.

-
--strict

Validate the Python environment after completing the installation, to detect and with missing dependencies or other issues

+
--strict

Validate the Python environment after completing the installation, to detect packages with missing dependencies or other issues

--system

Install packages into the system Python environment.

@@ -5957,7 +5957,7 @@ uv pip install [OPTIONS] |--editable lowest-direct: Resolve the lowest compatible version of any direct dependencies, and the highest compatible version of any transitive dependencies -
--strict

Validate the Python environment after completing the installation, to detect and with missing dependencies or other issues

+
--strict

Validate the Python environment after completing the installation, to detect packages with missing dependencies or other issues

--system

Install packages into the system Python environment.