summaryrefslogtreecommitdiffstats
path: root/urpm/select.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/select.pm')
-rw-r--r--urpm/select.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 7317aab2..6ae72bcb 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -168,7 +168,8 @@ sub _search_packages {
$urpm->{error}(N("No package named %s", $v));
values(%l) != 0 and $urpm->{error}(
N("The following packages contain %s: %s",
- $v, "\n" . join("\n", sort { $a cmp $b } keys %l))
+ $v, urpm::util::formatList(4, sort { $a cmp $b } keys %l)) . "\n" .
+ N("You should use \"-a\" to use all of them")
);
$result = 0;
} else {