Fix typo in description of `--strict` flag (#8513)

<!--
Thank you for contributing to uv! To help us out with reviewing, please
consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

<!-- What's the purpose of the change? What does it do, and why? -->
Fix the flag description: `to detect and with` --> `to detect packages
with`
This commit is contained in:
Andrey Bozhko 2024-10-24 07:21:56 -05:00 committed by GitHub
parent 98523e2014
commit b6883ed7fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -1423,7 +1423,7 @@ pub struct PipSyncArgs {
#[arg(long)] #[arg(long)]
pub python_platform: Option<TargetTriple>, pub python_platform: Option<TargetTriple>,
/// 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. /// missing dependencies or other issues.
#[arg(long, overrides_with("no_strict"))] #[arg(long, overrides_with("no_strict"))]
pub strict: bool, pub strict: bool,
@ -1711,7 +1711,7 @@ pub struct PipInstallArgs {
#[arg(long, overrides_with("inexact"))] #[arg(long, overrides_with("inexact"))]
pub exact: bool, 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. /// missing dependencies or other issues.
#[arg(long, overrides_with("no_strict"))] #[arg(long, overrides_with("no_strict"))]
pub strict: bool, pub strict: bool,

View File

@ -5540,7 +5540,7 @@ uv pip sync [OPTIONS] <SRC_FILE>...
</ul> </ul>
<p>May also be set with the <code>UV_REQUIRE_HASHES</code> environment variable.</p> <p>May also be set with the <code>UV_REQUIRE_HASHES</code> environment variable.</p>
</dd><dt><code>--strict</code></dt><dd><p>Validate the Python environment after completing the installation, to detect and with missing dependencies or other issues</p> </dd><dt><code>--strict</code></dt><dd><p>Validate the Python environment after completing the installation, to detect packages with missing dependencies or other issues</p>
</dd><dt><code>--system</code></dt><dd><p>Install packages into the system Python environment.</p> </dd><dt><code>--system</code></dt><dd><p>Install packages into the system Python environment.</p>
@ -5957,7 +5957,7 @@ uv pip install [OPTIONS] <PACKAGE|--requirement <REQUIREMENT>|--editable <EDITAB
<li><code>lowest-direct</code>: Resolve the lowest compatible version of any direct dependencies, and the highest compatible version of any transitive dependencies</li> <li><code>lowest-direct</code>: Resolve the lowest compatible version of any direct dependencies, and the highest compatible version of any transitive dependencies</li>
</ul> </ul>
</dd><dt><code>--strict</code></dt><dd><p>Validate the Python environment after completing the installation, to detect and with missing dependencies or other issues</p> </dd><dt><code>--strict</code></dt><dd><p>Validate the Python environment after completing the installation, to detect packages with missing dependencies or other issues</p>
</dd><dt><code>--system</code></dt><dd><p>Install packages into the system Python environment.</p> </dd><dt><code>--system</code></dt><dd><p>Install packages into the system Python environment.</p>