summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-02-09 21:25:12 +0000
committerThierry Vignaud <tv@mageia.org>2013-02-09 21:25:12 +0000
commit963d8d493fe73da40300971341055e606f516dc1 (patch)
tree4b3c527aa7f8b3c276c8c603d551c53cab84bf6b /urpm
parent268c064955714fb1a6c6c60033a05f3adeab04e4 (diff)
downloadurpmi-963d8d493fe73da40300971341055e606f516dc1.tar
urpmi-963d8d493fe73da40300971341055e606f516dc1.tar.gz
urpmi-963d8d493fe73da40300971341055e606f516dc1.tar.bz2
urpmi-963d8d493fe73da40300971341055e606f516dc1.tar.xz
urpmi-963d8d493fe73da40300971341055e606f516dc1.zip
add basic support for --downgrade (mga#6655)
needs new URPM
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 41201558..86906669 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -124,6 +124,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] },