diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-25 14:19:36 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-25 14:19:36 +0000 |
commit | c0235444db86ad87bf1f7ed404bb85df19c3e760 (patch) | |
tree | 11e14d220e3959ae8a3867b7aaa7c7df200138ce /urpmq | |
parent | c11df96b1dbc3a05252951e544b2e6c84d05fcf2 (diff) | |
download | urpmi-c0235444db86ad87bf1f7ed404bb85df19c3e760.tar urpmi-c0235444db86ad87bf1f7ed404bb85df19c3e760.tar.gz urpmi-c0235444db86ad87bf1f7ed404bb85df19c3e760.tar.bz2 urpmi-c0235444db86ad87bf1f7ed404bb85df19c3e760.tar.xz urpmi-c0235444db86ad87bf1f7ed404bb85df19c3e760.zip |
- urpmq:
o add --conflicts
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -78,6 +78,7 @@ usage: authentication (format is <user:password>). ") . N(" --env - use specific environment (typically a bug report). ") . N(" --changelog - print changelog. +") . N(" --conflicts - print conflicts. ") . N(" --provides - print provides. ") . N(" --requires - print requires. ") . N(" --sourcerpm - print sourcerpm. @@ -447,8 +448,8 @@ if ($options{list_aliases}) { } } exit 0; - } elsif ($options{provides} || $options{requires}) { - my $get = $options{provides} ? 'provides' : 'requires'; + } elsif ($options{provides} || $options{requires} || $options{conflicts}) { + my $get = $options{provides} ? 'provides' : $options{requires} ? 'requires' : 'conflicts'; my @l = uniq_ { scalar $_->fullname } map { $urpm->{depslist}[$_] } map { split /\|/, $_ } keys %{$state->{selected}}; foreach my $pkg (@l) { if (@l > 1) { |