From 45910eb6d1152903d54b9bc3a607630898e2d862 Mon Sep 17 00:00:00 2001 From: Ben Beasley Date: Tue, 22 Apr 2025 09:20:00 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20several=20occurrences=20of=20the=20phrase?= =?UTF-8?q?=20=E2=80=9CThis=20options=E2=80=9D=20(#13053)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Fixes several occurrences of the minor typo “This options” for “This option.” ## Test Plan Since this is just a typo fix in documentation and comment strings, no particular testing was conducted. ## Notes The typo fixes in `crates/uv-cli/src/lib.rs` would affect `docs/reference/cli.md`. I assumed you might want to just re-generate the reference documention, but fixing it up manually would look like: ```diff diff --git a/docs/reference/cli.md b/docs/reference/cli.md index 338fa0ff9..8851ca2c0 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -355,7 +355,7 @@ uv run [OPTIONS] [COMMAND]
--no-group no-group

Disable the specified dependency group.

-

This options always takes precedence over default groups, --all-groups, and --group.

+

This option always takes precedence over default groups, --all-groups, and --group.

May be provided multiple times.

@@ -1757,7 +1757,7 @@ uv sync [OPTIONS]
--no-group no-group

Disable the specified dependency group.

-

This options always takes precedence over default groups, --all-groups, and --group.

+

This option always takes precedence over default groups, --all-groups, and --group.

May be provided multiple times.

@@ -2492,7 +2492,7 @@ uv export [OPTIONS]
--no-group no-group

Disable the specified dependency group.

-

This options always takes precedence over default groups, --all-groups, and --group.

+

This option always takes precedence over default groups, --all-groups, and --group.

May be provided multiple times.

@@ -2855,7 +2855,7 @@ uv tree [OPTIONS]
--no-group no-group

Disable the specified dependency group.

-

This options always takes precedence over default groups, --all-groups, and --group.

+

This option always takes precedence over default groups, --all-groups, and --group.

May be provided multiple times.

``` --- crates/uv-build/python/uv_build/__init__.py | 2 +- crates/uv-cli/src/lib.rs | 8 ++++---- docs/reference/cli.md | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/crates/uv-build/python/uv_build/__init__.py b/crates/uv-build/python/uv_build/__init__.py index 71a244587..86226f512 100644 --- a/crates/uv-build/python/uv_build/__init__.py +++ b/crates/uv-build/python/uv_build/__init__.py @@ -21,7 +21,7 @@ if TYPE_CHECKING: from collections.abc import Mapping, Sequence # noqa:I001 from typing import Any # noqa:I001 -# Use the `uv build-backend` command rather than `uv-build`. This options is provided +# Use the `uv build-backend` command rather than `uv-build`. This option is provided # for downstream distributions who provide `uv` and wish to avoid building a partially # overlapping `uv-build` executable. USE_UV_EXECUTABLE = False diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index 7c3fe2001..97609860a 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -2837,7 +2837,7 @@ pub struct RunArgs { /// Disable the specified dependency group. /// - /// This options always takes precedence over default groups, + /// This option always takes precedence over default groups, /// `--all-groups`, and `--group`. /// /// May be provided multiple times. @@ -3132,7 +3132,7 @@ pub struct SyncArgs { /// Disable the specified dependency group. /// - /// This options always takes precedence over default groups, + /// This option always takes precedence over default groups, /// `--all-groups`, and `--group`. /// /// May be provided multiple times. @@ -3674,7 +3674,7 @@ pub struct TreeArgs { /// Disable the specified dependency group. /// - /// This options always takes precedence over default groups, + /// This option always takes precedence over default groups, /// `--all-groups`, and `--group`. /// /// May be provided multiple times. @@ -3850,7 +3850,7 @@ pub struct ExportArgs { /// Disable the specified dependency group. /// - /// This options always takes precedence over default groups, + /// This option always takes precedence over default groups, /// `--all-groups`, and `--group`. /// /// May be provided multiple times. diff --git a/docs/reference/cli.md b/docs/reference/cli.md index 338fa0ff9..8851ca2c0 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -355,7 +355,7 @@ uv run [OPTIONS] [COMMAND]
--no-group no-group

Disable the specified dependency group.

-

This options always takes precedence over default groups, --all-groups, and --group.

+

This option always takes precedence over default groups, --all-groups, and --group.

May be provided multiple times.

@@ -1757,7 +1757,7 @@ uv sync [OPTIONS]
--no-group no-group

Disable the specified dependency group.

-

This options always takes precedence over default groups, --all-groups, and --group.

+

This option always takes precedence over default groups, --all-groups, and --group.

May be provided multiple times.

@@ -2492,7 +2492,7 @@ uv export [OPTIONS]
--no-group no-group

Disable the specified dependency group.

-

This options always takes precedence over default groups, --all-groups, and --group.

+

This option always takes precedence over default groups, --all-groups, and --group.

May be provided multiple times.

@@ -2855,7 +2855,7 @@ uv tree [OPTIONS]
--no-group no-group

Disable the specified dependency group.

-

This options always takes precedence over default groups, --all-groups, and --group.

+

This option always takes precedence over default groups, --all-groups, and --group.

May be provided multiple times.