From 73cf2b8d5990cee538e0ccc347a656b86140310b Mon Sep 17 00:00:00 2001 From: konsti Date: Tue, 13 May 2025 15:53:10 +0200 Subject: [PATCH] uv export docs: "export" instead of "install" (#13430) Change the two missing places in the `uv export` docs to say "export" instead of "install". --- 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 2163fc190..94df91740 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -3941,7 +3941,7 @@ pub struct ExportArgs { #[arg(long, overrides_with("no_header"), hide = true)] pub header: bool, - /// Install any editable dependencies, including the project and any workspace members, as + /// Export any editable dependencies, including the project and any workspace members, as /// non-editable. #[arg(long)] pub no_editable: bool, @@ -3977,7 +3977,7 @@ pub struct ExportArgs { /// Do not emit the given package(s). /// /// By default, all of the project's dependencies are included in the exported requirements - /// file. The `--no-install-package` option allows exclusion of specific packages. + /// file. The `--no-emit-package` option allows exclusion of specific packages. #[arg(long, alias = "no-install-package")] pub no_emit_package: Vec, diff --git a/docs/reference/cli.md b/docs/reference/cli.md index a9ddc1002..bbdb5da55 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -2464,11 +2464,11 @@ uv export [OPTIONS]

This option is an alias of --no-group dev. See --no-default-groups to disable all default groups instead.

-
--no-editable

Install any editable dependencies, including the project and any workspace members, as non-editable

+
--no-editable

Export any editable dependencies, including the project and any workspace members, as non-editable

--no-emit-package, --no-install-package no-emit-package

Do not emit the given package(s).

-

By default, all of the project’s dependencies are included in the exported requirements file. The --no-install-package option allows exclusion of specific packages.

+

By default, all of the project’s dependencies are included in the exported requirements file. The --no-emit-package option allows exclusion of specific packages.

--no-emit-project, --no-install-project

Do not emit the current project.