summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-12-10 16:30:57 +0000
committerFrancois Pons <fpons@mandriva.com>2002-12-10 16:30:57 +0000
commit933d4974697b7561b1ea880c4b7d9b75d92087bd (patch)
treefeafc352a3fa72a1590577aa7db2938634fe84b3 /urpmq
parentf7ed619b0b08764dc83b0bc8c314c59b8fecac48 (diff)
downloadurpmi-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-xurpmq7
1 files changed, 6 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index 975feeca..445fd8c2 100755
--- a/urpmq
+++ b/urpmq
@@ -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') {