Commit ff768b4
committed
Auto merge of #12823 - calavera:fix_remove_help_typos, r=weihanglo
Clarify flag behavior in `cargo remove --help`
### What does this PR try to resolve?
I noticed what I believe are typos in `cargo rm --help`:
```
Section:
--dev Remove as development dependency
--build Remove as build dependency
--target <TARGET> Remove as dependency from the given target platform
```
This change updates that section with a more appropriate description of those flags.
### How should we test and review this PR?
I've updated the relevant test for that help output.
### Additional information
Sorry for not opening an issue about this. I believe it's easy enough to approve it if my assumption is correct.File tree
2 files changed
+6
-6
lines changed- src/bin/cargo/commands
- tests/testsuite/cargo_remove/help
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments