Skip to content

Commit dc21ca9

Browse files
committed
"rustpkg prefer" should print the help for '"prefer" not "uninstall"
1 parent e01abfe commit dc21ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustpkg/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ impl CtxMethods for BuildContext {
384384
}
385385
PreferCmd => {
386386
if args.len() < 1 {
387-
return usage::uninstall();
387+
return usage::prefer();
388388
}
389389

390390
self.prefer(args[0], None);

0 commit comments

Comments
 (0)