diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index c8a1017b4..501db96b3 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -3769,7 +3769,7 @@ pub struct ExportArgs { /// /// Pruned packages will be excluded from the exported requirements file, as will any /// dependencies that are no longer required after the pruned package is removed. - #[arg(long, conflicts_with = "all_packages")] + #[arg(long, conflicts_with = "all_packages", value_name = "PACKAGE")] pub prune: Vec, /// Include optional dependencies from the specified extra name. diff --git a/docs/reference/cli.md b/docs/reference/cli.md index ac8a3901d..3273bba63 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -2542,7 +2542,7 @@ uv export [OPTIONS]

This setting has no effect when used in the uv pip interface.

-
--prune prune

Prune the given package from the dependency tree.

+
--prune package

Prune the given package from the dependency tree.

Pruned packages will be excluded from the exported requirements file, as will any dependencies that are no longer required after the pruned package is removed.