From dc21ca98331f181fabefe25f31464ff920f805fd Mon Sep 17 00:00:00 2001 From: Andrew Chin Date: Sat, 11 Jan 2014 11:48:54 -0500 Subject: [PATCH] "rustpkg prefer" should print the help for '"prefer" not "uninstall" --- src/librustpkg/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustpkg/lib.rs b/src/librustpkg/lib.rs index 538865acfb5..27d3a3e549a 100644 --- a/src/librustpkg/lib.rs +++ b/src/librustpkg/lib.rs @@ -384,7 +384,7 @@ impl CtxMethods for BuildContext { } PreferCmd => { if args.len() < 1 { - return usage::uninstall(); + return usage::prefer(); } self.prefer(args[0], None);