diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-08-20 16:41:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-08-20 16:41:16 +0000 |
commit | 5539871b9bfbc7562bc549fc56f99b3ea3c0ad55 (patch) | |
tree | bf687117fa1a2d87faf7ba0ea76505aa51c709d7 /urpm | |
parent | 0fca5662e7d4f0a8e2a9436ea860acde4b94ed05 (diff) | |
download | urpmi-5539871b9bfbc7562bc549fc56f99b3ea3c0ad55.tar urpmi-5539871b9bfbc7562bc549fc56f99b3ea3c0ad55.tar.gz urpmi-5539871b9bfbc7562bc549fc56f99b3ea3c0ad55.tar.bz2 urpmi-5539871b9bfbc7562bc549fc56f99b3ea3c0ad55.tar.xz urpmi-5539871b9bfbc7562bc549fc56f99b3ea3c0ad55.zip |
- 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)
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/select.pm | 3 |
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 { |