mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-02 23:04:37 +00:00
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] <REQUIREMENTS>... Arguments: <REQUIREMENTS>... The packages to add, as PEP 508 requirements (e.g., `flask==2.2.3`) ```
This commit is contained in:
parent
5e7b98d3e7
commit
5a09c26e77
1 changed files with 1 additions and 1 deletions
|
@ -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<String>,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue