diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 07:58:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 07:58:05 +0000 |
commit | 896c30beccf1bff0a8acb1e78850eeae36419d28 (patch) | |
tree | f6a051dbaea28e5591bc1e1e75d5f7c50f24effc /urpmq | |
parent | 501f41944fdaebbd649a7f9d12e9b58ee7c14eba (diff) | |
download | urpmi-896c30beccf1bff0a8acb1e78850eeae36419d28.tar urpmi-896c30beccf1bff0a8acb1e78850eeae36419d28.tar.gz urpmi-896c30beccf1bff0a8acb1e78850eeae36419d28.tar.bz2 urpmi-896c30beccf1bff0a8acb1e78850eeae36419d28.tar.xz urpmi-896c30beccf1bff0a8acb1e78850eeae36419d28.zip |
- urpmq:
o --suggests now displays the suggested packages, see --allow-suggests for
previous behaviour (#39726)
- fixing duplicated setting of options in args.pm
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,6 +82,7 @@ usage: ") . N(" --conflicts - print conflicts. ") . N(" --provides - print provides. ") . N(" --requires - print requires. +") . N(" --suggests - print suggests. ") . N(" --sourcerpm - print sourcerpm. ") . N(" --summary, -S - print summary. ") . N(" --verbose, -v - verbose mode. @@ -490,8 +491,7 @@ if ($options{list_aliases}) { } } exit 0; - } elsif ($options{provides} || $options{requires} || $options{conflicts}) { - my $get = $options{provides} ? 'provides' : $options{requires} ? 'requires' : 'conflicts'; + } elsif (my ($get) = grep { $options{$_} } 'provides', 'requires', 'conflicts', 'suggests') { my @l = uniq_ { scalar $_->fullname } map { $urpm->{depslist}[$_] } map { split /\|/, $_ } keys %{$state->{selected}}; foreach my $pkg (@l) { if (@l > 1) { |