about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAndrew Chin <achin@eminence32.net>2014-01-11 11:48:54 -0500
committerAndrew Chin <achin@eminence32.net>2014-01-11 11:48:54 -0500
commitdc21ca98331f181fabefe25f31464ff920f805fd (patch)
tree3606073c0e53b4c2091ca6301c8e179383049d37 /src
parente01abfe432be4bba7a41f7fe1af6656930e19271 (diff)
downloadrust-dc21ca98331f181fabefe25f31464ff920f805fd.tar.gz
rust-dc21ca98331f181fabefe25f31464ff920f805fd.zip
"rustpkg prefer" should print the help for '"prefer" not "uninstall"
Diffstat (limited to 'src')
-rw-r--r--src/librustpkg/lib.rs2
1 files changed, 1 insertions, 1 deletions
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);