summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-08 08:27:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-08 08:27:48 +0000
commit1fbb5fe17012f4b93ef6614f6088e830a8b2b430 (patch)
tree464c54f466e5d4354045a94a29483180555200d2 /urpmq
parentac6e5d5bc1958f7b1778104b6d2b76aaa74ade00 (diff)
downloadurpmi-1fbb5fe17012f4b93ef6614f6088e830a8b2b430.tar
urpmi-1fbb5fe17012f4b93ef6614f6088e830a8b2b430.tar.gz
urpmi-1fbb5fe17012f4b93ef6614f6088e830a8b2b430.tar.bz2
urpmi-1fbb5fe17012f4b93ef6614f6088e830a8b2b430.tar.xz
urpmi-1fbb5fe17012f4b93ef6614f6088e830a8b2b430.zip
- urpmq
o add --obsoletes
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index 47d7815f..7bca3691 100755
--- a/urpmq
+++ b/urpmq
@@ -80,6 +80,7 @@ usage:
") . N(" --env - use specific environment (typically a bug report).
") . N(" --changelog - print changelog.
") . N(" --conflicts - print conflicts.
+") . N(" --obsoletes - print obsoletes.
") . N(" --provides - print provides.
") . N(" --requires - print requires.
") . N(" --suggests - print suggests.
@@ -491,7 +492,7 @@ if ($options{list_aliases}) {
}
}
exit 0;
- } elsif (my ($get) = grep { $options{$_} } 'provides', 'requires', 'conflicts', 'suggests') {
+ } elsif (my ($get) = grep { $options{$_} } 'provides', 'requires', 'conflicts', 'obsoletes', 'suggests') {
my @l = uniq_ { scalar $_->fullname } map { $urpm->{depslist}[$_] } map { split /\|/, $_ } keys %{$state->{selected}};
foreach my $pkg (@l) {
if (@l > 1) {