diff options
author | Francois Pons <fpons@mandriva.com> | 2002-12-10 16:30:57 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-12-10 16:30:57 +0000 |
commit | 933d4974697b7561b1ea880c4b7d9b75d92087bd (patch) | |
tree | feafc352a3fa72a1590577aa7db2938634fe84b3 /urpmq | |
parent | f7ed619b0b08764dc83b0bc8c314c59b8fecac48 (diff) | |
download | urpmi-933d4974697b7561b1ea880c4b7d9b75d92087bd.tar urpmi-933d4974697b7561b1ea880c4b7d9b75d92087bd.tar.gz urpmi-933d4974697b7561b1ea880c4b7d9b75d92087bd.tar.bz2 urpmi-933d4974697b7561b1ea880c4b7d9b75d92087bd.tar.xz urpmi-933d4974697b7561b1ea880c4b7d9b75d92087bd.zip |
4.1-11mdk
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -62,7 +62,7 @@ usage: ") . _(" -v - verbose mode. ") . _(" -d - extend query to package dependencies. ") . _(" -u - remove package if a more recent version is already installed. -") . _(" -c - choose complete method for resolving requires closure. +") . _(" -c - complete output with package to removes. ") . _(" -P - do not search in provides to find package. ") . _(" -R - reverse search to what requires package. ") . _(" -y - impose fuzzy search (same as --fuzzy). @@ -341,6 +341,11 @@ my $query_sub = sub { }; my %hack_only_one; +if ($query->{complete}) { + foreach my $removal (keys %{$state->{ask_remove} || {}}) { + print '@removing@' . $removal . "\n"; + } +} foreach my $id ($state->{selected} ? keys %{$state->{selected}} : keys %requested) { my $class = $state->{selected}{$id} || $requested{$id}; if (ref $class eq 'ARRAY') { |