diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 08:27:48 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 08:27:48 +0000 |
commit | 1fbb5fe17012f4b93ef6614f6088e830a8b2b430 (patch) | |
tree | 464c54f466e5d4354045a94a29483180555200d2 /urpmq | |
parent | ac6e5d5bc1958f7b1778104b6d2b76aaa74ade00 (diff) | |
download | urpmi-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-x | urpmq | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |