From 5a09c26e7768070bc67720de23e64a0fb9c16883 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby Date: Wed, 12 Jun 2024 15:44:08 +0200 Subject: [PATCH] Fix doc for `uv add` cli command s/remove/add/ (#4269) ## Summary Fix the docsting where `remove` was used instead of `add` in the context of `uv add` command. ## Test Plan ``` cargo run -- add --help ``` ``` Add one or more packages to the project requirements Usage: uv add [OPTIONS] ... Arguments: ... The packages to add, as PEP 508 requirements (e.g., `flask==2.2.3`) ``` --- crates/uv/src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uv/src/cli.rs b/crates/uv/src/cli.rs index 3f6962cb0..4dd2caf87 100644 --- a/crates/uv/src/cli.rs +++ b/crates/uv/src/cli.rs @@ -1936,7 +1936,7 @@ pub(crate) struct LockArgs { #[derive(Args)] #[allow(clippy::struct_excessive_bools)] pub(crate) struct AddArgs { - /// The packages to remove, as PEP 508 requirements (e.g., `flask==2.2.3`). + /// The packages to add, as PEP 508 requirements (e.g., `flask==2.2.3`). #[arg(required = true)] pub(crate) requirements: Vec,