Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias 'rustup toolchain uninstall' to 'rustup uninstall' #1073

Merged
merged 1 commit into from
Apr 19, 2017

Conversation

jordanhiltunen
Copy link
Contributor

See issue: #730.

This PR aliases rustup toolchain uninstall to rustup uninstall, making uninstallation more symmetrical with installation, which already views rustup install and rustup toolchain install as equivalent.

The rustup uninstall alias is directly patterned off of the implementation of
rustup install. I’ve also added a test in cli-rustup.rs to verify.

The issue linked also alludes to some confusing irregularities in the documentation (random flipping between use of 'update' and 'install'), and a softer question about whether rustup toolchain remove should be aliased to rustup remove as well.

This is my first crack at a PR here, so I was a bit sheepish to wade into those more contentious elements of the issue, but I would be glad to dig deeper into the semantic consistency of these various aliases if there's any interest, and someone thinks I'm headed in the right direction. Thanks!

The ‘rustup uninstall’ alias is patterned off of the implementation of
‘rustup install’. I’ve also added a test in cli-rustup.rs to verify.
@Diggsey
Copy link
Contributor

Diggsey commented Apr 19, 2017

@jordanhiltunen Thanks! I don't think we should add further aliases (such as rustup remove) because we want to discourage use of those extra aliases (they only exist for backwards compatibility).

Adding the uninstall alias seems fine to me though because of the symmetry with rustup install, which exists for convenience rather than just backwards compatibility.

@Diggsey Diggsey merged commit f7e0a9e into rust-lang:master Apr 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants