"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
+1 -1
View File
@@ -384,7 +384,7 @@ fn run(&self, cmd: Command, args: ~[~str]) {
}
PreferCmd => {
if args.len() < 1 {
return usage::uninstall();
return usage::prefer();
}
self.prefer(args[0], None);