mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-27 07:03:45 +00:00
"rustpkg prefer" should print the help for '"prefer" not "uninstall"
This commit is contained in:
parent
e01abfe432
commit
dc21ca9833
@ -384,7 +384,7 @@ impl CtxMethods for BuildContext {
|
|||||||
}
|
}
|
||||||
PreferCmd => {
|
PreferCmd => {
|
||||||
if args.len() < 1 {
|
if args.len() < 1 {
|
||||||
return usage::uninstall();
|
return usage::prefer();
|
||||||
}
|
}
|
||||||
|
|
||||||
self.prefer(args[0], None);
|
self.prefer(args[0], None);
|
||||||
|
Loading…
Reference in New Issue
Block a user