diff options
| author | Andrew Chin <achin@eminence32.net> | 2014-01-11 11:48:54 -0500 |
|---|---|---|
| committer | Andrew Chin <achin@eminence32.net> | 2014-01-11 11:48:54 -0500 |
| commit | dc21ca98331f181fabefe25f31464ff920f805fd (patch) | |
| tree | 3606073c0e53b4c2091ca6301c8e179383049d37 /src | |
| parent | e01abfe432be4bba7a41f7fe1af6656930e19271 (diff) | |
| download | rust-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.rs | 2 |
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); |
