summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--urpm/select.pm3
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7e36a33d..23eb22fb 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- urpmi, urpmq:
+ o do not display all substring matches on stderr, only a subset of them, and
+ suggest to use "-a" to use all matches (#38956)
+
Version 6.4 - 14 August 2008, Thierry Vignaud
- gurpmi
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 {