Skip to content

rustup update self should suggest rustup self update #3812

Closed
@ChrisDenton

Description

@ChrisDenton

Problem you are trying to solve

A new-ish user got confused about the command for updating rustup itself and tried rustup update self which gave this error:

error: error: invalid value 'self' for '[toolchain]...': invalid toolchain name: 'self'

For more information, try '--help'.
: invalid toolchain name: 'self'

Solution you'd like

Maybe something like:

note: use `rustup self update` to update rustup itself

Notes

I'm also not sure why the : invalid toolchain name: 'self' is repeated at the end. That seems redundant.

### Tasks
- [ ] https://github.com/rust-lang/rustup/issues/3905

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions