mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +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 => {
|
||||
if args.len() < 1 {
|
||||
return usage::uninstall();
|
||||
return usage::prefer();
|
||||
}
|
||||
|
||||
self.prefer(args[0], None);
|
||||
|
Loading…
Reference in New Issue
Block a user