From 1fbb5fe17012f4b93ef6614f6088e830a8b2b430 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 8 Jul 2008 08:27:48 +0000 Subject: - urpmq o add --obsoletes --- urpmq | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'urpmq') 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) { -- cgit v1.2.1