"rustpkg prefer" should print the help for '"prefer" not "uninstall"

This commit is contained in:
Andrew Chin 2014-01-11 11:48:54 -05:00
parent e01abfe432
commit dc21ca9833

View File

@ -384,7 +384,7 @@ impl CtxMethods for BuildContext {
}
PreferCmd => {
if args.len() < 1 {
return usage::uninstall();
return usage::prefer();
}
self.prefer(args[0], None);