summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-15 05:51:53 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-15 05:51:53 +0000
commitf23e0bbff40b3922f7612be4f12200d657f1d629 (patch)
tree217882ffe3231a492374d3d31fe138157beb1a26 /urpm
parentf5adb14740adfc84b7987e2d5da426b9ebd9a4b5 (diff)
downloadurpmi-f23e0bbff40b3922f7612be4f12200d657f1d629.tar
urpmi-f23e0bbff40b3922f7612be4f12200d657f1d629.tar.gz
urpmi-f23e0bbff40b3922f7612be4f12200d657f1d629.tar.bz2
urpmi-f23e0bbff40b3922f7612be4f12200d657f1d629.tar.xz
urpmi-f23e0bbff40b3922f7612be4f12200d657f1d629.zip
add basic support for --downgrade (mga#6655)
needs new URPM (backported from trunk)
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 c66db9de..742a4342 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -127,6 +127,7 @@ my %options_spec = (
'no-suggests' => sub { $urpm->{options}{'no-suggests'} = 1 },
'allow-nodeps' => sub { $urpm->{options}{'allow-nodeps'} = 1 },
'allow-force' => sub { $urpm->{options}{'allow-force'} = 1 },
+ 'downgrade' => sub { $urpm->{options}{downgrade} = 1 },
'parallel=s' => \$::parallel,
'metalink!' => sub { $urpm->{options}{metalink} = $_[1] },