summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-10-21 12:16:31 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-10-21 12:16:31 +0000
commitca8aeb40d48d21095354e1ce65673035d931f270 (patch)
treec7eb4481576ae8e9da2cb18662cf6621cb1d317d /urpm
parent9fb1dd823d8ff51280fd7501491b6fd778ae5343 (diff)
downloadurpmi-ca8aeb40d48d21095354e1ce65673035d931f270.tar
urpmi-ca8aeb40d48d21095354e1ce65673035d931f270.tar.gz
urpmi-ca8aeb40d48d21095354e1ce65673035d931f270.tar.bz2
urpmi-ca8aeb40d48d21095354e1ce65673035d931f270.tar.xz
urpmi-ca8aeb40d48d21095354e1ce65673035d931f270.zip
add --not-available option to urpmq
Patch from Pascal Terjan, fixes bug #51418 urpmq --not-available shows the packages that are installed but no longer available in the configured media. This can be helpful to figure out which packages are obsolete after a few distro upgrades.
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 1160ba85..1a70d843 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -248,6 +248,7 @@ my %options_spec = (
$options{deps} = $options{upgrade} = $options{auto_select} = 1;
},
'fuzzy|y' => sub { $urpm->{options}{fuzzy} = 1; $options{all} = 1 },
+ 'not-available' => \$options{not_available},
keep => \$options{keep},
list => \$options{list},
changelog => \$options{changelog},