Commit e49e655
Be more consistent about aliases for different subcommands
In some cases we have the same subcommand in multiple places, but it
accepts different aliases in each place. For instance, you can write
either `rustup toolchain uninstall` or `rustup toolchain rm`, but you
can only write `rustup uninstall`, not `rustup rm`.
Add aliases for consistency:
- `rustup add` for `rustup install`, for consistency with
`rustup toolchain install`.
- `rustup rm` (or "remove" or "delete" or "del") for `rustup uninstall`,
for consistency with `rustup toolchain uninstall`.
- `rustup self up` for `rustup self update`, for consistency with other
`update` commands.
- `rustup toolchain up` for `rustup toolchain update`, for consistency
with other `update` commands.1 parent e021d54 commit e49e655
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
| 544 | + | |
544 | 545 | | |
545 | 546 | | |
546 | 547 | | |
| |||
0 commit comments