summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-04-16 13:25:29 +0000
committerFrancois Pons <fpons@mandriva.com>2003-04-16 13:25:29 +0000
commitc4e62440a3a3b70f654caac08c9d35c5d2a20971 (patch)
tree6fee3396eb3c7b7fd5b97b16f8195884209a1431 /urpm.pm
parenta66e5e119b6c70494a70dd09fa57dfa9001c3677 (diff)
downloadurpmi-c4e62440a3a3b70f654caac08c9d35c5d2a20971.tar
urpmi-c4e62440a3a3b70f654caac08c9d35c5d2a20971.tar.gz
urpmi-c4e62440a3a3b70f654caac08c9d35c5d2a20971.tar.bz2
urpmi-c4e62440a3a3b70f654caac08c9d35c5d2a20971.tar.xz
urpmi-c4e62440a3a3b70f654caac08c9d35c5d2a20971.zip
improved output of search_packages for multiple found.
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index f762a3bc..b4fbc4ff 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2066,7 +2066,7 @@ sub search_packages {
$urpm->{error}(N("no package named %s", $_));
$result = 0;
} elsif (values(%l) > 1 && !$options{all}) {
- $urpm->{error}(N("The following packages contain %s: %s", $_, join(' ', keys %l)));
+ $urpm->{error}(N("The following packages contain %s: %s", $_, "\n".join("\n", sort { $a cmp $b } keys %l)));
$result = 0;
} else {
foreach (values %l) {