diff options
author | Francois Pons <fpons@mandriva.com> | 2003-04-16 13:25:29 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-04-16 13:25:29 +0000 |
commit | c4e62440a3a3b70f654caac08c9d35c5d2a20971 (patch) | |
tree | 6fee3396eb3c7b7fd5b97b16f8195884209a1431 /urpm.pm | |
parent | a66e5e119b6c70494a70dd09fa57dfa9001c3677 (diff) | |
download | urpmi-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.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |