Skip to content

Commit

Permalink
Fix doc for uv add cli command s/remove/add/ (#4269)
Browse files Browse the repository at this point in the history
## 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`)

```
  • Loading branch information
ticosax authored Jun 12, 2024
1 parent 5e7b98d commit 5a09c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/uv/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,

Expand Down

0 comments on commit 5a09c26

Please sign in to comment.